zig/test/standalone/issue_794/build.zig
2023-03-15 10:48:14 -07:00

14 lines
343 B
Zig

const std = @import("std");
pub fn build(b: *std.Build) void {
const test_step = b.step("test", "Test it");
b.default_step = test_step;
const test_artifact = b.addTest(.{
.root_source_file = .{ .path = "main.zig" },
});
test_artifact.addIncludePath("a_directory");
test_step.dependOn(&test_artifact.step);
}