2019-10-05 10:54:14 +00:00
|
|
|
const Builder = @import("std").build.Builder;
|
|
|
|
|
|
|
|
pub fn build(b: *Builder) void {
|
|
|
|
const mode = b.standardReleaseOptions();
|
2020-02-01 18:01:44 +00:00
|
|
|
const test_build = b.addTest("src/main.zig");
|
|
|
|
test_build.setBuildMode(mode);
|
2019-10-05 10:54:14 +00:00
|
|
|
|
2020-02-01 18:01:44 +00:00
|
|
|
const test_step = b.step("test", "Run the app");
|
|
|
|
test_step.dependOn(&test_build.step);
|
2019-10-05 10:54:14 +00:00
|
|
|
}
|