.PHONY: help build check test lint fmt clean
help:
@awk 'BEGIN {FS = ":.*##"} /^[a-zA-Z0-9_.-]+:.*##/ { printf " %-18s %s\n", $$1, $$2 }' $(MAKEFILE_LIST)
build:
cargo build --workspace
check: lint test
cargo fmt --all -- --check
test:
cargo test --workspace
lint:
cargo clippy --workspace --all-targets -- -D warnings
fmt:
cargo fmt --all
clean:
cargo clean