summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Jimmi Holst Christensen2019-10-06 17:20:56 +0200
committerGravatar Jimmi Holst Christensen2019-10-06 17:20:56 +0200
commitf3eb797336c1bbdae391657ef6ac54e4015b5fde (patch)
tree0f99b8a43adddcadca24a2ec0b47b779ef923904 /build.zig
parentDelete download-zig.sh (diff)
downloadzig-clap-f3eb797336c1bbdae391657ef6ac54e4015b5fde.tar.gz
zig-clap-f3eb797336c1bbdae391657ef6ac54e4015b5fde.tar.xz
zig-clap-f3eb797336c1bbdae391657ef6ac54e4015b5fde.zip
fmt, mv src/ clap/ and run fmt on build
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 104e7e3..9d2ef7b 100644
--- a/build.zig
+++ b/build.zig
@@ -7,6 +7,11 @@ const Builder = std.build.Builder;
7pub fn build(b: *Builder) void { 7pub fn build(b: *Builder) void {
8 const mode = b.standardReleaseOptions(); 8 const mode = b.standardReleaseOptions();
9 9
10 const fmt_step = b.addFmt([_][]const u8{
11 "build.zig",
12 "clap",
13 });
14
10 const test_all_step = b.step("test", "Run all tests in all modes."); 15 const test_all_step = b.step("test", "Run all tests in all modes.");
11 inline for ([_]Mode{ Mode.Debug, Mode.ReleaseFast, Mode.ReleaseSafe, Mode.ReleaseSmall }) |test_mode| { 16 inline for ([_]Mode{ Mode.Debug, Mode.ReleaseFast, Mode.ReleaseSafe, Mode.ReleaseSmall }) |test_mode| {
12 const mode_str = comptime modeToString(test_mode); 17 const mode_str = comptime modeToString(test_mode);