2018-03-17 15:19:23 -07:00
|
|
|
const Builder = @import("std").build.Builder;
|
|
|
|
|
2018-05-31 07:56:59 -07:00
|
|
|
pub fn build(b: *Builder) void {
|
2018-03-17 15:19:23 -07:00
|
|
|
const test_artifact = b.addTest("main.zig");
|
|
|
|
test_artifact.addIncludeDir("a_directory");
|
|
|
|
|
|
|
|
b.default_step.dependOn(&test_artifact.step);
|
|
|
|
|
|
|
|
const test_step = b.step("test", "Test the program");
|
|
|
|
test_step.dependOn(&test_artifact.step);
|
|
|
|
}
|