2023-12-20 23:29:09 +00:00
|
|
|
interpreter = ["bash", "-euo", "pipefail", "-c"]
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "engage"
|
|
|
|
group = "versions"
|
|
|
|
script = "engage --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-06-09 19:52:45 +00:00
|
|
|
[[task]]
|
|
|
|
name = "lychee"
|
|
|
|
group = "versions"
|
|
|
|
script = "lychee --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "markdownlint"
|
|
|
|
group = "versions"
|
|
|
|
script = "markdownlint --version"
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "lychee"
|
|
|
|
group = "lints"
|
|
|
|
script = "lychee --offline ."
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "markdownlint"
|
|
|
|
group = "lints"
|
|
|
|
script = "markdownlint ."
|
|
|
|
|
2023-12-20 23:29:09 +00: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 \
|
|
|
|
--no-deps \
|
|
|
|
--document-private-items \
|
|
|
|
--color always
|
|
|
|
"""
|
|
|
|
|
|
|
|
[[task]]
|
2024-04-28 03:23:59 +00:00
|
|
|
name = "cargo-clippy/none"
|
|
|
|
group = "lints"
|
|
|
|
script = """
|
|
|
|
cargo clippy \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
|
|
|
--no-default-features \
|
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
-D warnings
|
|
|
|
"""
|
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo-clippy/default"
|
2023-12-20 23:29:09 +00:00
|
|
|
group = "lints"
|
|
|
|
script = "cargo clippy --workspace --all-targets --color=always -- -D warnings"
|
|
|
|
|
2024-04-28 03:23:59 +00:00
|
|
|
[[task]]
|
|
|
|
name = "cargo-clippy/all"
|
|
|
|
group = "lints"
|
|
|
|
script = """
|
2024-05-30 07:45:22 +00:00
|
|
|
env DIRENV_DEVSHELL=all-features \
|
|
|
|
direnv exec . \
|
|
|
|
cargo clippy \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
|
|
|
--all-features \
|
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
-D warnings
|
2024-04-28 03:23:59 +00:00
|
|
|
"""
|
|
|
|
|
2023-12-20 23:29:09 +00:00
|
|
|
[[task]]
|
2024-05-31 04:09:38 +00:00
|
|
|
name = "cargo/default"
|
2023-12-20 23:29:09 +00:00
|
|
|
group = "tests"
|
|
|
|
script = """
|
|
|
|
cargo test \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
--color=always
|
|
|
|
"""
|
2024-05-31 04:09:38 +00:00
|
|
|
|
|
|
|
[[task]]
|
|
|
|
name = "cargo/all"
|
|
|
|
group = "tests"
|
|
|
|
script = """
|
|
|
|
env DIRENV_DEVSHELL=all-features \
|
|
|
|
direnv exec . \
|
|
|
|
cargo test \
|
|
|
|
--all-features \
|
|
|
|
--workspace \
|
|
|
|
--all-targets \
|
|
|
|
--color=always \
|
|
|
|
-- \
|
|
|
|
--color=always
|
|
|
|
"""
|