.PHONY: setup fmt check
setup:
git config core.hooksPath .githooks
@echo "Git hooks installed. Pre-push checks (fmt + clippy) are now active."
fmt:
cargo fmt --all
check:
cargo fmt --all -- --check && RUSTFLAGS="-Dwarnings" cargo clippy --all-targets --all-features