blob: fa4c1cd9c5a685376d3e396002880e04b468a1c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});
const lib_tests = b.addTest(.{
.root_module = b.createModule(.{
.root_source_file = b.path("src/lib.zig"),
.target = target,
.optimize = optimize,
}),
});
const run_tests = b.addRunArtifact(lib_tests);
const test_step = b.step("test", "Run beta tests");
test_step.dependOn(&run_tests.step);
}
|