2021-09-27 10:36:57 +00:00
|
|
|
[env]
|
|
|
|
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
|
|
|
|
|
2024-01-21 12:50:11 +00:00
|
|
|
# Do a full check of everything.
|
2021-09-27 10:36:57 +00:00
|
|
|
[tasks.complete-check]
|
2024-01-21 12:50:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"clean",
|
|
|
|
"format",
|
|
|
|
"check",
|
|
|
|
"clippy",
|
|
|
|
"test",
|
|
|
|
"code-coverage",
|
|
|
|
"docs",
|
|
|
|
"build",
|
|
|
|
"audit-flow",
|
|
|
|
"outdated-flow"
|
|
|
|
]
|
2021-09-27 10:36:57 +00:00
|
|
|
|
2024-01-21 12:50:11 +00:00
|
|
|
# Run cargo-tarpaulin and output the test coverage.
|
2021-09-27 10:36:57 +00:00
|
|
|
[tasks.code-coverage]
|
|
|
|
workspace = false
|
|
|
|
command = "cargo"
|
|
|
|
args = [
|
|
|
|
"tarpaulin",
|
|
|
|
"--exclude-files=target/*",
|
|
|
|
"--out=html",
|
2022-09-30 21:36:21 +00:00
|
|
|
"--output-dir=coverage",
|
2021-09-27 10:36:57 +00:00
|
|
|
"--skip-clean",
|
|
|
|
"--target-dir=target/tarpaulin",
|
|
|
|
"--workspace"
|
|
|
|
]
|