# FireForge development recipes
# Run all CI quality checks locally
ci:
cargo fmt --check
just ci-post-fmt
ci-post-fmt:
cargo check
cargo machete
cargo clippy --all-targets -- -D warnings
cargo build --tests
cargo nextest run --no-fail-fast
# Run CI with all feature combinations
ci-all-features:
cargo fmt --check
just check-all-features
cargo machete
just clippy-all-features
just test-all-features
# Format code
fmt:
cargo fmt
# Check for compiler errors/warnings
check:
cargo check
# Check all feature combinations
check-all-features:
cargo hack check --feature-powerset
# Run clippy linter
clippy:
cargo clippy --all-targets -- -D warnings
# Run clippy on all feature combinations
clippy-all-features:
RUSTFLAGS="-Zmacro-backtrace" cargo +nightly hack clippy --feature-powerset --all-targets -- -D warnings
# Run tests
test:
cargo nextest run
# Test all feature combinations
test-all-features:
cargo hack test --feature-powerset
# Run all quality checks and fix formatting
fix:
cargo fmt
cargo machete --fix || true
just ci