560dff3891
Version of rustc: 0.12.0-pre-nightly (2e92c67dc 2014-08-28 23:56:20 +0000).
28 lines
328 B
Makefile
28 lines
328 B
Makefile
tmp=_git_distcheck
|
|
|
|
all:
|
|
cargo build --release
|
|
|
|
test:
|
|
cargo test
|
|
|
|
bench:
|
|
rustc --test src/lib.rs --opt-level 3 -o bench~ && ./bench~ --bench
|
|
rm 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
|