| ... | ... | @@ -1,13 +1,13 @@ |
| 1 | 1 | const std = @import("std"); |
| 2 | 2 | const deps = @import("./deps.zig"); |
| 3 | 3 | |
| 4 | | pub fn build(b: *std.build.Builder) void { |
| 4 | pub fn build(b: *std.Build) void { |
| 5 | 5 | const target = b.standardTargetOptions(.{}); |
| 6 | 6 | const mode = b.option(std.builtin.Mode, "mode", "") orelse .Debug; |
| 7 | 7 | |
| 8 | 8 | const exe = b.addExecutable(.{ |
| 9 | 9 | .name = "zig-pek", |
| 10 | | .root_source_file = .{ .path = "src/main.zig" }, |
| 10 | .root_source_file = b.path("src/main.zig"), |
| 11 | 11 | .target = target, |
| 12 | 12 | .optimize = mode, |
| 13 | 13 | }); |