| ... | ... | @@ -12,6 +12,7 @@ pub const DepType = enum { |
| 12 | 12 | .git => { |
| 13 | 13 | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); |
| 14 | 14 | }, |
| 15 | .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, |
| 15 | 16 | else => { |
| 16 | 17 | u.assert(false, "dep type {} not configured for pull: {}", .{@tagName(self), rpath}); |
| 17 | 18 | }, |
| ... | ... | @@ -24,6 +25,7 @@ pub const DepType = enum { |
| 24 | 25 | _ = try u.run_cmd(dpath, &[_][]const u8{"git", "fetch"}); |
| 25 | 26 | _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"}); |
| 26 | 27 | }, |
| 28 | .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); }, |
| 27 | 29 | else => { |
| 28 | 30 | u.assert(false, "dep type {} not configured for update: {}", .{@tagName(self), rpath}); |
| 29 | 31 | }, |