2024-01-25 17:43:15 +00:00
|
|
|
# Do a full check of everything.
|
2022-09-05 12:24:49 +00:00
|
|
|
[tasks.complete-check]
|
2024-01-25 17:43:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"format",
|
|
|
|
"spellcheck",
|
|
|
|
"check",
|
|
|
|
"clippy",
|
|
|
|
"test",
|
|
|
|
"code-coverage",
|
|
|
|
"docs",
|
|
|
|
"build",
|
|
|
|
"audit-flow",
|
|
|
|
"outdated-flow",
|
|
|
|
]
|
2022-09-05 12:24:49 +00:00
|
|
|
|
2024-01-25 17:43:15 +00:00
|
|
|
# Run cargo-tarpaulin and output the test coverage.
|
2022-09-05 12:24:49 +00:00
|
|
|
[tasks.code-coverage]
|
|
|
|
workspace = false
|
|
|
|
command = "cargo"
|
|
|
|
args = [
|
|
|
|
"tarpaulin",
|
|
|
|
"--exclude-files=target/*",
|
|
|
|
"--out=html",
|
|
|
|
"--output-dir=coverage",
|
|
|
|
"--skip-clean",
|
2024-01-25 17:43:15 +00:00
|
|
|
"--target-dir=target/tarpaulin",
|
2022-09-05 12:24:49 +00:00
|
|
|
]
|
2024-01-25 17:43:15 +00:00
|
|
|
|
|
|
|
# Do a source code spellcheck.
|
|
|
|
[tasks.spellcheck]
|
|
|
|
clear = true
|
|
|
|
command = "typos"
|