We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std.BuildGraph.zig_exe
1 parent e3312e6 commit ad403cbCopy full SHA for ad403cb
build.zig
@@ -13,11 +13,11 @@ pub fn build(b: *std.Build) !void {
13
14
const test_step = b.step("test", "Run unit tests");
15
16
- const core_tests = b.addSystemCommand(&.{ "zig", "build", "test" });
+ const core_tests = b.addSystemCommand(&.{ b.graph.zig_exe, "build", "test" });
17
core_tests.setCwd(b.path("src/core"));
18
test_step.dependOn(&core_tests.step);
19
20
- const clap_tests = b.addSystemCommand(&.{ "zig", "build", "test" });
+ const clap_tests = b.addSystemCommand(&.{ b.graph.zig_exe, "build", "test" });
21
clap_tests.setCwd(b.path("src/clap"));
22
test_step.dependOn(&clap_tests.step);
23
}
0 commit comments