diff options
| -rw-r--r-- | build.zig | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -4,6 +4,8 @@ pub fn build(b: *std.Build) void { | |||
| 4 | const optimize = b.standardOptimizeOption(.{}); | 4 | const optimize = b.standardOptimizeOption(.{}); |
| 5 | const target = b.standardTargetOptions(.{}); | 5 | const target = b.standardTargetOptions(.{}); |
| 6 | 6 | ||
| 7 | b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } }); | ||
| 8 | |||
| 7 | const test_step = b.step("test", "Run all tests in all modes."); | 9 | const test_step = b.step("test", "Run all tests in all modes."); |
| 8 | const tests = b.addTest(.{ | 10 | const tests = b.addTest(.{ |
| 9 | .root_source_file = .{ .path = "clap.zig" }, | 11 | .root_source_file = .{ .path = "clap.zig" }, |