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