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