| ... | ... | @@ -15,9 +15,6 @@ pub const DepType = enum { |
| 15 | 15 | _ = try u.run_cmd(null, &[_][]const u8{"git", "clone", rpath, dpath}); |
| 16 | 16 | }, |
| 17 | 17 | .hg => { _ = try u.run_cmd(null, &[_][]const u8{"hg", "clone", rpath, dpath}); }, |
| 18 | | else => { |
| 19 | | u.assert(false, "dep type {} not configured for pull: {}", .{@tagName(self), rpath}); |
| 20 | | }, |
| 21 | 18 | } |
| 22 | 19 | } |
| 23 | 20 | |
| ... | ... | @@ -29,9 +26,6 @@ pub const DepType = enum { |
| 29 | 26 | _ = try u.run_cmd(dpath, &[_][]const u8{"git", "pull"}); |
| 30 | 27 | }, |
| 31 | 28 | .hg => { _ = try u.run_cmd(dpath, &[_][]const u8{"hg", "pull"}); }, |
| 32 | | else => { |
| 33 | | u.assert(false, "dep type {} not configured for update: {}", .{@tagName(self), rpath}); |
| 34 | | }, |
| 35 | 29 | } |
| 36 | 30 | } |
| 37 | 31 | }; |