| 1 |
[private] |
| 2 |
default: |
| 3 |
@just --list |
| 4 |
|
| 5 |
|
| 6 |
# run `cargo build` on everything |
| 7 |
build: |
| 8 |
cargo build --workspace --all-targets |
| 9 |
|
| 10 |
|
| 11 |
# run `cargo check` on everything |
| 12 |
check: |
| 13 |
cargo check --workspace --all-targets |
| 14 |
|
| 15 |
|
| 16 |
# run code formatter |
| 17 |
format: |
| 18 |
cargo +nightly fmt |
| 19 |
|
| 20 |
|
| 21 |
# run tests |
| 22 |
test: build |
| 23 |
cargo test --all-features |
| 24 |
|
| 25 |
|
| 26 |
# run `cargo clippy` on everything |
| 27 |
clippy: |
| 28 |
cargo clippy --locked --offline --workspace --all-targets -- --deny warnings |
| 29 |
|
| 30 |
# run `cargo clippy --fix` on everything |
| 31 |
clippy-fix: |
| 32 |
cargo clippy --locked --offline --workspace --all-targets --fix |
| 33 |
|
| 34 |
# Check for API changes. |
| 35 |
check-api: |
| 36 |
contrib/check-for-api-changes.sh |