fixed build
This commit is contained in:
19
build.zig
19
build.zig
@@ -38,19 +38,12 @@ pub fn build(b: *std.Build) void {
|
|||||||
// run_cmd.addArgs(args);
|
// run_cmd.addArgs(args);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// const mod_tests = b.addTest(.{
|
const mod_tests = b.addTest(.{
|
||||||
// .root_module = mod,
|
.root_module = mod,
|
||||||
// });
|
});
|
||||||
|
|
||||||
// const run_mod_tests = b.addRunArtifact(mod_tests);
|
const run_mod_tests = b.addRunArtifact(mod_tests);
|
||||||
|
|
||||||
// const exe_tests = b.addTest(.{
|
const test_step = b.step("test", "Run tests");
|
||||||
// .root_module = exe.root_module,
|
test_step.dependOn(&run_mod_tests.step);
|
||||||
// });
|
|
||||||
|
|
||||||
// const run_exe_tests = b.addRunArtifact(exe_tests);
|
|
||||||
|
|
||||||
// const test_step = b.step("test", "Run tests");
|
|
||||||
// test_step.dependOn(&run_mod_tests.step);
|
|
||||||
// test_step.dependOn(&run_exe_tests.step);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user