| ... | @@ -16,8 +16,7 @@ pub const DepType = enum { | ... | @@ -16,8 +16,7 @@ pub const DepType = enum { |
| 16 | switch (self) { | 16 | switch (self) { |
| 17 | .system_lib => {}, | 17 | .system_lib => {}, |
| 18 | .git => { | 18 | .git => { |
| 19 | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); | 19 | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", "--recurse-submodules", rpath, dpath}); |
| 20 | _ = try u.run_cmd(null, &[_][]const u8{"git", "submodule", "update", "--init", "--recursive"}); | | |
| 21 | }, | 20 | }, |
| 22 | .hg => { | 21 | .hg => { |
| 23 | _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); | 22 | _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); |