We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfb3afd + 0d118b8 commit aaa77f4Copy full SHA for aaa77f4
cli/assets/templates/zig/build.zig
@@ -29,4 +29,10 @@ pub fn build(b: *std.Build) !void {
29
30
const step_run = b.step("run", "compile and run the cart");
31
step_run.dependOn(&run_exe.step);
32
+
33
+ const run_exe_web = b.addSystemCommand(&.{ "w4", "run"});
34
+ run_exe_web.addArtifactArg(exe);
35
36
+ const step_run_web = b.step("run-web", "compile and run the cart in a web browser");
37
+ step_run_web.dependOn(&run_exe_web.step);
38
}
0 commit comments