diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -9,7 +9,9 @@ pub fn build(b: *Builder) void { | |||
| 9 | 9 | ||
| 10 | const fmt_step = b.addFmt(&[_][]const u8{ | 10 | const fmt_step = b.addFmt(&[_][]const u8{ |
| 11 | "build.zig", | 11 | "build.zig", |
| 12 | "clap.zig", | ||
| 12 | "clap", | 13 | "clap", |
| 14 | "example", | ||
| 13 | }); | 15 | }); |
| 14 | 16 | ||
| 15 | const test_all_step = b.step("test", "Run all tests in all modes."); | 17 | const test_all_step = b.step("test", "Run all tests in all modes."); |
| @@ -51,6 +53,7 @@ pub fn build(b: *Builder) void { | |||
| 51 | all_step.dependOn(example_step); | 53 | all_step.dependOn(example_step); |
| 52 | all_step.dependOn(readme_step); | 54 | all_step.dependOn(readme_step); |
| 53 | 55 | ||
| 56 | b.default_step.dependOn(&fmt_step.step); | ||
| 54 | b.default_step.dependOn(all_step); | 57 | b.default_step.dependOn(all_step); |
| 55 | } | 58 | } |
| 56 | 59 | ||