~ntgg/PGLang

ref: 97fab4ca046e0180ccfa8653858c19fa6dc6cdd3 PGLang/build.zig -rw-r--r-- 402 bytes View raw
97fab4caNoah Graff moved to stream based io, removed wasm temporarily 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
const Builder = @import("std").build.Builder;

pub fn build(b: *Builder) void {
    const mode = b.standardReleaseOptions();
    const exe = b.addExecutable("bfzk", "src/main.zig");
    exe.setBuildMode(mode);
    exe.install();

    const run_cmd = exe.run();
    run_cmd.step.dependOn(b.getInstallStep());

    const run_step = b.step("run", "Run the app");
    run_step.dependOn(&run_cmd.step);
}