# Run all checks
check: fmt-check lint test file-size
# Format code
fmt:
cargo fmt
# Check formatting
fmt-check:
cargo fmt -- --check
# Run tests
test:
cargo test
# Run clippy
lint:
cargo clippy -- -D warnings
# Check file sizes
file-size:
bash scripts/check-file-sizes.sh