diff --git a/build.zig b/build.zig index 5057774..feedf1f 100644 --- a/build.zig +++ b/build.zig @@ -51,7 +51,7 @@ pub fn build(b: *std.Build) void { // Code coverage const cov_step = b.step("cov", "Generate code coverage"); - const cov_run = b.addSystemCommand(&.{ "kcov", "--clean", "--include-pattern=src/", "kcov-output" }); + const cov_run = b.addSystemCommand(&.{ "kcov", "--clean", "--include-pattern=src/", "kcov-output/" }); cov_run.addArtifactArg(tests); cov_step.dependOn(&cov_run.step); b.default_step.dependOn(cov_step);