.DEFAULT_GOAL := help
.PHONY: help test lint fmt fmt-check
help:
@echo "Usage: make <target>"
@echo ""
@echo "Targets:"
@echo " help Show this help message"
@echo " test Run tests (cargo test --all-features)"
@echo " lint Run clippy (cargo clippy --all-targets --all-features -- -D warnings)"
@echo " fmt Format code (cargo fmt --all)"
@echo " fmt-check Check formatting (cargo fmt --all -- --check)"
test:
cargo test --all-features
lint:
cargo clippy --all-targets --all-features -- -D warnings
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all -- --check