Skip to content

Commit

Permalink
fix: use kcov without --release build
Browse files Browse the repository at this point in the history
  • Loading branch information
enmand committed May 27, 2024
1 parent 7b67b02 commit 3cffbeb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[env]
CARGO_MAKE_COVERAGE_PROVIDER = "kcov"
CARGO_MAKE_RUN_CODECOV = true
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
CARGO_MAKE_CARGO_BUILD_TEST_FLAGS = "--lib --release"
CARGO_MAKE_COVERAGE_PROVIDER = "kcov"

[tasks.build-wasm]
workspace = false
Expand All @@ -14,7 +13,6 @@ args = [
"nodejs",
"--out-name",
"index",
"--release",
"--",
"--no-default-features",
"--features",
Expand All @@ -32,7 +30,6 @@ args = [
"web",
"--out-name",
"index",
"--release",
"--out-dir",
"browsers",
"--",
Expand Down Expand Up @@ -72,4 +69,4 @@ dependencies = ["install-npm-deps"]

[tasks.test-cargo]
command = "cargo"
args = ["test", "--release", "--", "--nocapture"]
args = ["test", "--", "--nocapture"]

0 comments on commit 3cffbeb

Please sign in to comment.