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