Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Artifacts
on: [push]
on: [push, pull_request]
jobs:
test:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions build2.zig
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ pub fn build(b: *Builder) !void {

const run_step = b.step("run", "Run the app");
run_step.dependOn(&run_cmd.step);
if (b.args) |args| {
run_cmd.addArgs(args);
}

addTest(b, exe, target, mode);
}
Expand Down
2 changes: 1 addition & 1 deletion zigup.zig
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ pub fn main2() !u8 {
}
} else if (std.mem.eql(u8, "-h", arg) or std.mem.eql(u8, "--help", arg)) {
help();
return 1;
return 0;
} else {
args[newlen] = args[i];
newlen += 1;
Expand Down