diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,11 +1,11 @@ | |||
| 1 | const std = @import("std"); | 1 | const std = @import("std"); |
| 2 | 2 | ||
| 3 | pub fn build(b: *std.Build) void { | 3 | pub fn build(b: *std.Build) void { |
| 4 | b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } }); | ||
| 5 | |||
| 4 | const optimize = b.standardOptimizeOption(.{}); | 6 | const optimize = b.standardOptimizeOption(.{}); |
| 5 | const target = b.standardTargetOptions(.{}); | 7 | const target = b.standardTargetOptions(.{}); |
| 6 | 8 | ||
| 7 | b.addModule(.{ .name = "clap", .source_file = .{ .path = "clap.zig" } }); | ||
| 8 | |||
| 9 | 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."); |
| 10 | const tests = b.addTest(.{ | 10 | const tests = b.addTest(.{ |
| 11 | .root_source_file = .{ .path = "clap.zig" }, | 11 | .root_source_file = .{ .path = "clap.zig" }, |