summaryrefslogtreecommitdiffhomepage
path: root/examples/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'examples/build.zig')
-rw-r--r--examples/build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/build.zig b/examples/build.zig
index 5a17382c..df0cdf8c 100644
--- a/examples/build.zig
+++ b/examples/build.zig
@@ -75,6 +75,7 @@ fn add_module(comptime module: []const u8, b: *std.Build, target: std.Build.Reso
const install_cmd = b.addInstallArtifact(exe, .{});
const run_cmd = b.addRunArtifact(exe);
+ run_cmd.cwd = b.path(module);
run_cmd.step.dependOn(&install_cmd.step);
const run_step = b.step(name, name);