2023-12-20 23:29:09 +00:00
|
|
|
interpreter = ["bash", "-euo", "pipefail", "-c"]
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "engage"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "engage --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "rustc"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "rustc --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "cargo --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo-fmt"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "cargo fmt --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "rustdoc"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "rustdoc --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo-clippy"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "cargo clippy -- --version"
|
|
|
|
|
2024-03-15 03:27:44 +00:00
|
|
|
[[task]]
|
|
|
|
group = "versions"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "lychee"
|
2024-03-15 03:27:44 +00:00
|
|
|
script = "lychee --version"
|
|
|
|
|
2023-12-20 23:29:09 +00:00
|
|
|
[[task]]
|
|
|
|
group = "lints"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo-fmt"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "cargo fmt --check -- --color=always"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "lints"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo-doc"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = """
|
|
|
|
RUSTDOCFLAGS="-D warnings" cargo doc \
|
|
|
|
--workspace \
|
|
|
|
--no-deps \
|
|
|
|
--document-private-items \
|
|
|
|
--color always
|
|
|
|
"""
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "lints"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo-clippy"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = "cargo clippy --workspace --all-targets --color=always -- -D warnings"
|
|
|
|
|
2024-03-15 03:27:44 +00:00
|
|
|
[[task]]
|
|
|
|
group = "lints"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "taplo-fmt"
|
|
|
|
script = "taplo fmt --check --colors always"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
group = "lints"
|
|
|
|
name = "lychee"
|
2024-03-15 03:27:44 +00:00
|
|
|
script = "lychee --offline docs"
|
|
|
|
|
2023-12-20 23:29:09 +00:00
|
|
|
[[task]]
|
|
|
|
group = "tests"
|
2024-05-06 18:43:13 +00:00
|
|
|
name = "cargo"
|
2023-12-20 23:29:09 +00:00
|
|
|
script = """
|
|
|
|
cargo test \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
--color=always
|
|
|
|
"""
|