summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGravatar Jimmi HC2018-06-19 14:29:29 +0200
committerGravatar Jimmi HC2018-06-19 14:29:29 +0200
commitae2d5063d760a6f383ca195d766e44e5f8bcc6ed (patch)
treea5aa2c31206b99999c63013178380e669241fcb9 /build.zig
parentRemoved the settings param (diff)
downloadzig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.tar.gz
zig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.tar.xz
zig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.zip
Updated to newest version of zig
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.zig b/build.zig
index 29792ee..6ec8837 100644
--- a/build.zig
+++ b/build.zig
@@ -5,7 +5,7 @@ pub fn build(b: *Builder) void {
5 5
6 { 6 {
7 const example_step = b.step("examples", "Build all examples"); 7 const example_step = b.step("examples", "Build all examples");
8 const examples = [][]const u8 {}; 8 const examples = [][]const u8{};
9 9
10 b.default_step.dependOn(example_step); 10 b.default_step.dependOn(example_step);
11 inline for (examples) |example| { 11 inline for (examples) |example| {
@@ -22,7 +22,7 @@ pub fn build(b: *Builder) void {
22 22
23 { 23 {
24 const test_step = b.step("tests", "Run all tests"); 24 const test_step = b.step("tests", "Run all tests");
25 const tests = [][]const u8 { 25 const tests = [][]const u8{
26 "core", 26 "core",
27 "extended", 27 "extended",
28 }; 28 };
@@ -38,6 +38,5 @@ pub fn build(b: *Builder) void {
38 step.dependOn(&t.step); 38 step.dependOn(&t.step);
39 test_step.dependOn(step); 39 test_step.dependOn(step);
40 } 40 }
41
42 } 41 }
43} 42}