mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 08:02:32 +00:00
f2ca2ace09
See #2041
11 lines
288 B
Zig
11 lines
288 B
Zig
const Builder = @import("std").build.Builder;
|
|
|
|
pub fn build(b: *Builder) void {
|
|
const main = b.addTest("main.zig");
|
|
main.setBuildMode(b.standardReleaseOptions());
|
|
main.addIncludeDir(".");
|
|
|
|
const test_step = b.step("test", "Test it");
|
|
test_step.dependOn(&main.step);
|
|
}
|