mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
3631de580a
These comments show up on travis, which is not desired [skip ci]
14 lines
276 B
Makefile
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
|