Bend/justfile
2024-04-22 19:03:56 +02:00

32 lines
563 B
Makefile

# To use this, first run `cargo install just`
# Then run the install subcommand: `just install`
# Running `just` is equivalent to running `just all` because it's the first command
export CARGO_TERM_COLOR := "always"
all: rustup-show check fmt clippy test sort audit
rustup-show:
rustup show
check:
cargo check --all-targets
fmt:
cargo fmt --all -- --check
clippy:
cargo clippy --all-targets
test:
cargo insta test --workspace
sort:
cargo sort --check --workspace
audit:
cargo audit
install:
cargo install --locked cargo-sort cargo-audit