mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
11 lines
286 B
Zig
11 lines
286 B
Zig
const Builder = @import("std").build.Builder;
|
|
|
|
pub fn build(b: &Builder) {
|
|
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);
|
|
}
|