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