2024-01-26 18:51:22 +00:00
|
|
|
# Do a full check of everything.
|
2022-09-21 11:38:32 +00:00
|
|
|
[tasks.complete-check]
|
2024-01-26 18:51:22 +00:00
|
|
|
dependencies = [
|
|
|
|
"format",
|
|
|
|
"spellcheck",
|
|
|
|
"check",
|
|
|
|
"clippy",
|
|
|
|
"test",
|
|
|
|
"code-coverage",
|
|
|
|
"docs",
|
|
|
|
"build",
|
|
|
|
"audit-flow",
|
|
|
|
"outdated-flow",
|
|
|
|
]
|
2022-09-21 11:38:32 +00:00
|
|
|
|
2024-01-26 18:51:22 +00:00
|
|
|
# Run cargo-tarpaulin and output the test coverage.
|
2022-09-21 11:38:32 +00:00
|
|
|
[tasks.code-coverage]
|
|
|
|
workspace = false
|
|
|
|
command = "cargo"
|
|
|
|
args = [
|
|
|
|
"tarpaulin",
|
|
|
|
"--exclude-files=target/*",
|
|
|
|
"--out=html",
|
|
|
|
"--output-dir=coverage",
|
|
|
|
"--skip-clean",
|
2024-01-26 18:51:22 +00:00
|
|
|
"--target-dir=target/tarpaulin",
|
2022-09-21 11:38:32 +00:00
|
|
|
]
|
2024-01-26 18:51:22 +00:00
|
|
|
|
|
|
|
# Do a source code spellcheck.
|
|
|
|
[tasks.spellcheck]
|
|
|
|
clear = true
|
|
|
|
command = "typos"
|