mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 17:12:31 +00:00
12 lines
312 B
Zig
12 lines
312 B
Zig
const Builder = @import("std").build.Builder;
|
|
|
|
pub fn build(b: *Builder) void {
|
|
const test_exe = b.addTest(.{
|
|
.root_source_file = .{ .path = "a/test.zig" },
|
|
});
|
|
test_exe.setMainPkgPath(".");
|
|
|
|
const test_step = b.step("test", "Test the program");
|
|
test_step.dependOn(&test_exe.step);
|
|
}
|