.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: tests
tests:
@cargo test
.PHONY: build
build: tests
@cargo test
.PHONY: integration-cleanup
integration-cleanup:
rm -rf target && \
rm -rf tests/integration/workdir && \
rm -f tests/integration/funzzy
.PHONY: integration
integration: integration-cleanup
@bash tests/integration/runner.sh
.PHONY: install
install: build
cp target/release/funzzy /usr/local/bin/
.PHONY: lint
lint:
cargo clippy
.PHONY: lint
lint:
cargo clippy
.PHONY: linter
linter: lint