2017-04-11 18:14:46 +08:00
|
|
|
const Builder = @import("std").build.Builder;
|
|
|
|
|
2018-05-31 22:56:59 +08:00
|
|
|
pub fn build(b: *Builder) void {
|
2017-09-07 02:18:14 +08:00
|
|
|
const mode = b.standardReleaseOptions();
|
2017-04-19 13:13:15 +08:00
|
|
|
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
|
2017-09-07 02:18:14 +08:00
|
|
|
exe.setBuildMode(mode);
|
2017-04-19 13:13:15 +08:00
|
|
|
|
2018-06-02 09:51:54 +08:00
|
|
|
b.default_step.dependOn(&exe.step);
|
2017-09-07 06:30:45 +08:00
|
|
|
b.installArtifact(exe);
|
2017-04-11 18:14:46 +08:00
|
|
|
}
|