clap/clap-tests/Makefile
Sebastian Thiel 3631de580a refactor(makefile): hide comments
These comments show up on travis, which is not desired

[skip ci]
2015-05-05 17:12:20 -04:00

14 lines
276 B
Makefile

.PHONY: build test clean
build:
@# It may be that this project was never built, and no Cargo.lock exists.
@# Thus it may be ignored
cargo update 2>/dev/null || :
cargo build --release
test:
$(MAKE) build || ($(MAKE) clean && false)
./run_tests.py
clean:
cargo clean