.PHONY: help fetch-spec test lint fmt doc check
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-12s\033[0m %s\n", $$1, $$2}'
fetch-spec:
curl -fsSL https://tesseralytics.dev/v1/openapi.json -o openapi.json
test:
cargo test --all-features
lint:
cargo clippy --all-targets --all-features -- -D warnings
fmt:
cargo fmt --all -- --check
doc:
cargo doc --no-deps
check: lint fmt test