mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-11-05 04:51:40 +03:00
35 lines
606 B
Makefile
35 lines
606 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 test clippy fmt sort audit
|
|
|
|
rustup-show:
|
|
rustup show
|
|
|
|
test:
|
|
cargo insta test --workspace
|
|
|
|
clippy:
|
|
cargo clippy
|
|
|
|
fmt:
|
|
cargo fmt --all -- --check
|
|
|
|
sort:
|
|
cargo sort --check --workspace
|
|
|
|
audit:
|
|
cargo audit
|
|
|
|
install:
|
|
cargo install --locked cargo-sort cargo-audit
|
|
|
|
llcheck:
|
|
cargo watch -x llcheck
|
|
|
|
extras:
|
|
cargo install --locked cargo-watch cargo-limit amber
|