.PHONY: help lint-quick lint-reasonable lint-strict lint-ci lint-fix format check test clean install
help:
@echo "Available commands:"
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf " \033[36m%-15s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
lint-quick:
@scripts/lint.sh quick
lint-reasonable:
@scripts/lint.sh reasonable
lint-strict:
@scripts/lint.sh strict
lint-ci:
@scripts/lint.sh ci
lint-fix:
@scripts/lint.sh fix
format:
@cargo fmt --all -- --check
format-fix:
@cargo fmt --all
check:
@cargo check --all-targets --all-features
test:
@cargo test --all-features
test-quick:
@cargo test --lib --quiet
doc:
@cargo doc --no-deps --all-features
doc-open:
@cargo doc --no-deps --all-features --open
clean:
@cargo clean
install:
@echo "Installing development tools..."
@cargo install cargo-audit cargo-deny cargo-machete
.DEFAULT_GOAL := help