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