| ... | @@ -39,6 +39,10 @@ pub fn execute(args: [][]u8) !void { | ... | @@ -39,6 +39,10 @@ pub fn execute(args: [][]u8) !void { |
| 39 | const moddir = try std.fs.cwd().openDir(modpath, .{}); | 39 | const moddir = try std.fs.cwd().openDir(modpath, .{}); |
| 40 | std.log.info("{s}", .{dep.path}); | 40 | std.log.info("{s}", .{dep.path}); |
| 41 | | 41 | |
| | 42 | // git update |
| | 43 | u.assert((try u.run_cmd(gpa, modpath, &.{ "git", "fetch" })) == 0, "git fetch failed", .{}); |
| | 44 | u.assert((try u.run_cmd(gpa, modpath, &.{ "git", "pull" })) == 0, "git pull failed", .{}); |
| | 45 | |
| 42 | // zigmod ci | 46 | // zigmod ci |
| 43 | const ci = @import("../ci.zig"); | 47 | const ci = @import("../ci.zig"); |
| 44 | try ci.do(gpa, modpath, moddir); | 48 | try ci.do(gpa, modpath, moddir); |