2023-12-21 01:33:31 +01:00
|
|
|
interpreter = ["bash", "-euo", "pipefail", "-c"]
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "engage"
|
|
|
|
group = "versions"
|
|
|
|
script = "engage --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "nix"
|
|
|
|
group = "versions"
|
|
|
|
script = "nix --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "direnv"
|
|
|
|
group = "versions"
|
|
|
|
script = "direnv --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "rustc"
|
|
|
|
group = "versions"
|
|
|
|
script = "rustc --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo"
|
|
|
|
group = "versions"
|
|
|
|
script = "cargo --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo-fmt"
|
|
|
|
group = "versions"
|
|
|
|
script = "cargo fmt --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "rustdoc"
|
|
|
|
group = "versions"
|
|
|
|
script = "rustdoc --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo-clippy"
|
|
|
|
group = "versions"
|
|
|
|
script = "cargo clippy -- --version"
|
|
|
|
|
2024-03-10 06:11:21 +01:00
|
|
|
[[task]]
|
|
|
|
name = "cargo-audit"
|
|
|
|
group = "versions"
|
|
|
|
script = "cargo audit --version"
|
|
|
|
|
2024-03-10 06:12:11 +01:00
|
|
|
[[task]]
|
|
|
|
name = "cargo-deb"
|
|
|
|
group = "versions"
|
|
|
|
script = "cargo deb --version"
|
|
|
|
|
2024-03-17 23:06:10 +01:00
|
|
|
[[task]]
|
|
|
|
name = "lychee"
|
|
|
|
group = "versions"
|
|
|
|
script = "lychee --version"
|
|
|
|
|
2024-03-10 06:11:21 +01:00
|
|
|
[[task]]
|
|
|
|
name = "cargo-audit"
|
|
|
|
group = "security"
|
|
|
|
script = "cargo audit -D warnings -D unmaintained -D unsound -D yanked"
|
|
|
|
|
2023-12-21 01:33:31 +01:00
|
|
|
[[task]]
|
|
|
|
name = "cargo-fmt"
|
|
|
|
group = "lints"
|
|
|
|
script = "cargo fmt --check -- --color=always"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo-doc"
|
|
|
|
group = "lints"
|
|
|
|
script = """
|
|
|
|
RUSTDOCFLAGS="-D warnings" cargo doc \
|
|
|
|
--workspace \
|
2024-03-10 06:09:14 +01:00
|
|
|
--all-features \
|
2023-12-21 01:33:31 +01:00
|
|
|
--no-deps \
|
|
|
|
--document-private-items \
|
|
|
|
--color always
|
|
|
|
"""
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo-clippy"
|
|
|
|
group = "lints"
|
2024-03-10 02:44:39 +01:00
|
|
|
script = "cargo clippy --workspace --all-targets --all-features --color=always -- -D warnings"
|
2023-12-21 01:33:31 +01:00
|
|
|
|
2024-03-17 23:06:10 +01:00
|
|
|
[[task]]
|
|
|
|
name = "lychee"
|
|
|
|
group = "lints"
|
|
|
|
script = "lychee --offline docs"
|
|
|
|
|
2023-12-21 01:33:31 +01:00
|
|
|
[[task]]
|
|
|
|
name = "cargo"
|
|
|
|
group = "tests"
|
|
|
|
script = """
|
|
|
|
cargo test \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
2024-03-10 02:44:39 +01:00
|
|
|
--all-features \
|
2023-12-21 01:33:31 +01:00
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
--color=always
|
|
|
|
"""
|