zig/std/special/build_file_template.zig

11 lines
292 B
Zig

const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) %void {
const mode = b.standardReleaseOptions();
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
exe.setBuildMode(mode);
b.default_step.dependOn(&exe.step);
b.installArtifact(exe);
}