e9ce642795
squashed from https://gitlab.com/famedly/conduit/-/merge_requests/604 added differences.md Co-authored-by: Charles Hall <charles@computer.surgery> Co-authored-by: strawberry <strawberry@puppygock.gay> Signed-off-by: strawberry <strawberry@puppygock.gay>
101 lines
1.7 KiB
TOML
101 lines
1.7 KiB
TOML
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"
|
|
|
|
[[task]]
|
|
name = "cargo-audit"
|
|
group = "versions"
|
|
script = "cargo audit --version"
|
|
|
|
[[task]]
|
|
name = "cargo-deb"
|
|
group = "versions"
|
|
script = "cargo deb --version"
|
|
|
|
[[task]]
|
|
name = "lychee"
|
|
group = "versions"
|
|
script = "lychee --version"
|
|
|
|
[[task]]
|
|
name = "cargo-audit"
|
|
group = "security"
|
|
script = "cargo audit -D warnings -D unmaintained -D unsound -D yanked"
|
|
|
|
[[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 \
|
|
--all-features \
|
|
--no-deps \
|
|
--document-private-items \
|
|
--color always
|
|
"""
|
|
|
|
[[task]]
|
|
name = "cargo-clippy"
|
|
group = "lints"
|
|
script = "cargo clippy --workspace --all-targets --all-features --color=always -- -D warnings"
|
|
|
|
[[task]]
|
|
name = "lychee"
|
|
group = "lints"
|
|
script = "lychee --offline docs"
|
|
|
|
[[task]]
|
|
name = "cargo"
|
|
group = "tests"
|
|
script = """
|
|
cargo test \
|
|
--workspace \
|
|
--all-targets \
|
|
--all-features \
|
|
--color=always \
|
|
-- \
|
|
--color=always
|
|
"""
|