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 {
1515 _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath});
1616 _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"});
1717 },
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 },
1921 }
2022 }
2123
......@@ -26,7 +28,9 @@ pub const DepType = enum {
2628 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "fetch"});
2729 _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"});
2830 },
29 .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); },
31 .hg => {
32 _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"});
33 },
3034 }
3135 }
3236};