# List all recipes in this justfile in the order they are defined
default:
@just --list --unsorted
# Build (dev)
[group('build')]
build:
cargo build
# Run clippy
[group('build')]
clippy:
cargo clippy --all-targets --all-features -- -D warnings
[group('build')]
check: clippy
cargo check
# Build all (rustdoc) docs; can pass extra args like --open
[group('build')]
doc *ARGS:
cargo doc --workspace --no-deps {{ ARGS }}
# Run all tests
[group('test')]
test: check
cargo nextest run
cargo test --doc # run separately since nextest doesn't support doctests