summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.zig b/build.zig
index 13c7c4b..7598ccb 100644
--- a/build.zig
+++ b/build.zig
@@ -1,11 +1,11 @@
1const std = @import("std"); 1const std = @import("std");
2 2
3pub fn build(b: *std.Build) void { 3pub 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" },