mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 19:09:32 +00:00
bea9e9c7f8
Closes #794.
11 lines
291 B
Zig
11 lines
291 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);
|
|
}
|