From 3d73683c1305e86f39e4f50fd5c3b10540b06c7b Mon Sep 17 00:00:00 2001 From: Meghan Date: Sat, 5 Dec 2020 10:05:58 -0800 Subject: [PATCH] util/deptype- init submodules in git --- src/util/dep_type.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/dep_type.zig b/src/util/dep_type.zig index adf4b0cb41e70962ac209e206c2682dd0b37f961..61acc12a22aec618e0c33d4456f78af87a994e5a 100644 --- a/src/util/dep_type.zig +++ b/src/util/dep_type.zig @@ -13,6 +13,7 @@ pub const DepType = enum { .system_lib => {}, .git => { _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); + _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"}); }, .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, } -- 2.54.0