diff options
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -15,10 +15,11 @@ pub fn build(b: *std.Build) void { | |||
| 15 | 15 | ||
| 16 | const example_step = b.step("examples", "Build examples"); | 16 | const example_step = b.step("examples", "Build examples"); |
| 17 | for ([_][]const u8{ | 17 | for ([_][]const u8{ |
| 18 | "help", | ||
| 18 | "simple", | 19 | "simple", |
| 19 | "simple-ex", | 20 | "simple-ex", |
| 20 | "streaming-clap", | 21 | "streaming-clap", |
| 21 | "help", | 22 | "subcommands", |
| 22 | "usage", | 23 | "usage", |
| 23 | }) |example_name| { | 24 | }) |example_name| { |
| 24 | const example = b.addExecutable(.{ | 25 | const example = b.addExecutable(.{ |
| @@ -69,6 +70,7 @@ fn readMeStep(b: *std.Build) *std.Build.Step { | |||
| 69 | try stream.print(@embedFile("example/README.md.template"), .{ | 70 | try stream.print(@embedFile("example/README.md.template"), .{ |
| 70 | @embedFile("example/simple.zig"), | 71 | @embedFile("example/simple.zig"), |
| 71 | @embedFile("example/simple-ex.zig"), | 72 | @embedFile("example/simple-ex.zig"), |
| 73 | @embedFile("example/subcommands.zig"), | ||
| 72 | @embedFile("example/streaming-clap.zig"), | 74 | @embedFile("example/streaming-clap.zig"), |
| 73 | @embedFile("example/help.zig"), | 75 | @embedFile("example/help.zig"), |
| 74 | @embedFile("example/usage.zig"), | 76 | @embedFile("example/usage.zig"), |