authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-04-17 21:48:22 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-04-17 21:48:22 -07:00
logb04747977a09237dc9f5040ab6ecfbf3d7f9dd55
tree95793568be4759431b821fa79368cce2c796f701
parent8b3a7f856744b65566d17acb7d788e6c00e55d0a

cmd/aq/update- needs to call git pull too


1 files changed, 4 insertions(+), 0 deletions(-)

src/cmd/aquila/update.zig+4
...@@ -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});
4141
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 ci46 // 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);