diff options
| author | 2018-06-19 14:29:29 +0200 | |
|---|---|---|
| committer | 2018-06-19 14:29:29 +0200 | |
| commit | ae2d5063d760a6f383ca195d766e44e5f8bcc6ed (patch) | |
| tree | a5aa2c31206b99999c63013178380e669241fcb9 /build.zig | |
| parent | Removed the settings param (diff) | |
| download | zig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.tar.gz zig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.tar.xz zig-clap-ae2d5063d760a6f383ca195d766e44e5f8bcc6ed.zip | |
Updated to newest version of zig
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 5 |
1 files changed, 2 insertions, 3 deletions
| @@ -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 | } |