# Justfiles are processed by the just command runner (https://just.systems/). # You can install it with `brew install just` or `cargo install just` _default: just --list # Run rustfmt fmt: rustup run nightly cargo fmt -- \ --config-path ./fmt/rustfmt.toml # Run clippy fix and rustfmt afterwards fix *args: && fmt cd {{invocation_directory()}}; cargo clippy --fix --all-targets --all-features {{args}} # run cargo clippy, denying warnings lint: cd {{invocation_directory()}}; cargo clippy --all-targets --all-features -- -D warnings