We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4286ed5 commit 83c00b1Copy full SHA for 83c00b1
1 file changed
build.zig
@@ -71,10 +71,12 @@ pub fn build(b: *std.Build) void {
71
},
72
}),
73
});
74
- b.installArtifact(example);
+
75
+ const install_example = b.addInstallArtifact(example, .{});
76
+ b.getInstallStep().dependOn(&install_example.step);
77
78
const run_cmd = b.addRunArtifact(example);
- run_cmd.step.dependOn(b.getInstallStep());
79
+ run_cmd.step.dependOn(&install_example.step);
80
if (b.args) |args| {
81
run_cmd.addArgs(args);
82
}
0 commit comments