mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-26 11:12:30 +00:00
80 lines
1.3 KiB
TOML
80 lines
1.3 KiB
TOML
interpreter = ["bash", "-euo", "pipefail", "-c"]
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "engage"
|
|
script = "engage --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "rustc"
|
|
script = "rustc --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "cargo"
|
|
script = "cargo --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "cargo-fmt"
|
|
script = "cargo fmt --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "rustdoc"
|
|
script = "rustdoc --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "cargo-clippy"
|
|
script = "cargo clippy -- --version"
|
|
|
|
[[task]]
|
|
group = "versions"
|
|
name = "lychee"
|
|
script = "lychee --version"
|
|
|
|
[[task]]
|
|
group = "lints"
|
|
name = "cargo-fmt"
|
|
script = "cargo fmt --check -- --color=always"
|
|
|
|
[[task]]
|
|
group = "lints"
|
|
name = "cargo-doc"
|
|
script = """
|
|
RUSTDOCFLAGS="-D warnings" cargo doc \
|
|
--workspace \
|
|
--no-deps \
|
|
--document-private-items \
|
|
--color always
|
|
"""
|
|
|
|
[[task]]
|
|
group = "lints"
|
|
name = "cargo-clippy"
|
|
script = "cargo clippy --workspace --all-targets --color=always -- -D warnings"
|
|
|
|
[[task]]
|
|
group = "lints"
|
|
name = "taplo-fmt"
|
|
script = "taplo fmt --check --colors always"
|
|
|
|
[[task]]
|
|
group = "lints"
|
|
name = "lychee"
|
|
script = "lychee --offline docs"
|
|
|
|
[[task]]
|
|
group = "tests"
|
|
name = "cargo"
|
|
script = """
|
|
cargo test \
|
|
--workspace \
|
|
--all-targets \
|
|
--color=always \
|
|
-- \
|
|
--color=always
|
|
"""
|