blob: 908aa8f2106fc5c04c200e7a20528fb9bbdfbe67 [file] [log] [blame]
.PHONY: help travis
.DEFAULT_GOAL := help
clean: ## Remove junk
@find . -name '*.rs.bk' -delete
help: ## Print this message and exit
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%16s\033[0m : %s\n", $$1, $$2}' $(MAKEFILE_LIST)
test: ## Run the tests with logging enabled
@cargo test --features=cli --no-run && \
RUST_LOG=debug cargo test --features=cli
travis: ## Run the TravisCI tests
@RUST_BACKTRACE=full cargo build --verbose --features=cli && \
RUST_BACKTRACE=full cargo test --verbose --features=cli || \
{ cat Cargo.lock; exit 1; }