diff options
| author | 2020-08-22 11:35:34 +1000 | |
|---|---|---|
| committer | 2020-08-22 08:16:37 +0200 | |
| commit | a0e755e06f203cecf44eab301eae4b22e5fe5573 (patch) | |
| tree | b41a9bc8d7c3430df1f8ff484372edce9acdfc90 /build.zig | |
| parent | Merge pull request #21 from joachimschmidt557/var-anytype (diff) | |
| download | zig-clap-a0e755e06f203cecf44eab301eae4b22e5fe5573.tar.gz zig-clap-a0e755e06f203cecf44eab301eae4b22e5fe5573.tar.xz zig-clap-a0e755e06f203cecf44eab301eae4b22e5fe5573.zip | |
add build step id
Diffstat (limited to '')
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -59,7 +59,7 @@ pub fn build(b: *Builder) void { | |||
| 59 | 59 | ||
| 60 | fn readMeStep(b: *Builder) *std.build.Step { | 60 | fn readMeStep(b: *Builder) *std.build.Step { |
| 61 | const s = b.allocator.create(std.build.Step) catch unreachable; | 61 | const s = b.allocator.create(std.build.Step) catch unreachable; |
| 62 | s.* = std.build.Step.init("ReadMeStep", b.allocator, struct { | 62 | s.* = std.build.Step.init(.Custom, "ReadMeStep", b.allocator, struct { |
| 63 | fn make(step: *std.build.Step) anyerror!void { | 63 | fn make(step: *std.build.Step) anyerror!void { |
| 64 | @setEvalBranchQuota(10000); | 64 | @setEvalBranchQuota(10000); |
| 65 | const file = try std.fs.cwd().createFile("README.md", .{}); | 65 | const file = try std.fs.cwd().createFile("README.md", .{}); |