authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-12-05 10:06:17 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-12-05 10:06:17 -08:00
log625886b182cf6b8721f7fa282606572db5a6166d
treedd9990da4e668d3e8339051e575fd030afa8fec5
parent3d73683c1305e86f39e4f50fd5c3b10540b06c7b

util/deptype- dont put hg on one line


1 files changed, 6 insertions(+), 2 deletions(-)

src/util/dep_type.zig+6-2
...@@ -15,7 +15,9 @@ pub const DepType = enum {...@@ -15,7 +15,9 @@ pub const DepType = enum {
15 _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath});15 _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath});
16 _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"});16 _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"});
17 },17 },
18 .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); },18 .hg => {
19 _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath});
20 },
19 }21 }
20 }22 }
2123
...@@ -26,7 +28,9 @@ pub const DepType = enum {...@@ -26,7 +28,9 @@ pub const DepType = enum {
26 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "fetch"});28 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "fetch"});
27 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"});29 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"});
28 },30 },
29 .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); },31 .hg => {
32 _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"});
33 },
30 }34 }
31 }35 }
32};36};