ba18f5aa70
This also moves the tests and benches to cargo-complient folders. Fix #21.
27 lines
261 B
Makefile
27 lines
261 B
Makefile
tmp=_git_distcheck
|
|
|
|
all:
|
|
cargo build --release
|
|
|
|
test:
|
|
cargo test
|
|
|
|
bench:
|
|
cargo bench
|
|
|
|
doc:
|
|
cargo doc
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
distcheck:
|
|
rm -rf $(tmp)
|
|
git clone --recursive . $(tmp)
|
|
make -C $(tmp)
|
|
make -C $(tmp) test
|
|
rm -rf $(tmp)
|
|
|
|
.PHONY:doc
|
|
.PHONY:test
|