mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-11-12 18:22:31 +03:00
32 lines
563 B
Makefile
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
|