From b8b6dd3d68caa2d65e3581921d986ec2451ca409 Mon Sep 17 00:00:00 2001 From: Jora Troosh Date: Thu, 18 Jul 2024 14:38:22 +0300 Subject: [PATCH] fix(build): kcov dir arg --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);