authorgravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-12-05 10:05:58 -08:00
committergravatar for hello@nektro.netMeghan <hello@nektro.net> 2020-12-05 10:05:58 -08:00
log3d73683c1305e86f39e4f50fd5c3b10540b06c7b
tree0d22436145b10c490f31bb0eef0b5a04adb3eba9
parent78a35f3bc98a380f06a374f34f23af903315cafa

util/deptype- init submodules in git


1 files changed, 1 insertions(+), 0 deletions(-)

src/util/dep_type.zig+1
......@@ -13,6 +13,7 @@ pub const DepType = enum {
1313 .system_lib => {},
1414 .git => {
1515 _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath});
16 _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"});
1617 },
1718 .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); },
1819 }