changelog:
@docker run -t -v "$(shell pwd)":/app/ orhunp/git-cliff:latest --config cliff.toml --output CHANGELOG.md
dev:
cargo watch -x run
doc:
@cargo doc --open
fix:
@cargo fix --allow-dirty --allow-staged --all-features --all-targets
fmt:
@cargo fmt --all -- --check
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; \
{printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}' | \
sort
lint:
@cargo clippy --workspace --all-targets --verbose
@cargo clippy --workspace --all-targets --verbose --all-features
tests:
@cargo test
.PHONY: changelog dev doc fix fmt help tests lint