help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
setup:
cargo watch --version || cargo install cargo-watch
git-cliff --version || cargo install git-cliff
dev:
cargo watch -x fmt -x clippy -x run
fmt:
cargo +nightly fmt
fmt_check:
cargo +nightly fmt --check
lint:
cargo clippy
test:
cargo test
comply: fmt lint test
check: fmt_check lint test
release:
bash scripts/release.sh $(version)
check_dependencies:
cargo +nightly udeps
cargo outdated --root-deps-only