| ... | @@ -18,6 +18,9 @@ pub fn build(b: *Builder) void { | ... | @@ -18,6 +18,9 @@ pub fn build(b: *Builder) void { |
| 18 | | 18 | |
| 19 | const run_cmd = exe.run(); | 19 | const run_cmd = exe.run(); |
| 20 | run_cmd.step.dependOn(b.getInstallStep()); | 20 | run_cmd.step.dependOn(b.getInstallStep()); |
| | 21 | if (b.args) |args| { |
| | 22 | run_cmd.addArgs(args); |
| | 23 | } |
| 21 | | 24 | |
| 22 | const run_step = b.step("run", "Run the app"); | 25 | const run_step = b.step("run", "Run the app"); |
| 23 | run_step.dependOn(&run_cmd.step); | 26 | run_step.dependOn(&run_cmd.step); |