| ... | @@ -13,6 +13,7 @@ pub const DepType = enum { | ... | @@ -13,6 +13,7 @@ pub const DepType = enum { |
| 13 | .system_lib => {}, | 13 | .system_lib => {}, |
| 14 | .git => { | 14 | .git => { |
| 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 | }, | 17 | }, |
| 17 | .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, | 18 | .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, |
| 18 | } | 19 | } |