2018-07-24 18:42:07 -07:00
|
|
|
.PHONY: all debug bench test update doc clean
|
2018-02-24 00:12:58 -08:00
|
|
|
|
|
|
|
all:
|
2018-07-24 18:42:07 -07:00
|
|
|
export RUSTFLAGS=-Awarnings
|
|
|
|
cargo +nightly build
|
|
|
|
cargo +nightly run
|
|
|
|
|
|
|
|
debug:
|
|
|
|
export RUST_BACKTRACE=1
|
2018-07-14 18:17:00 -07:00
|
|
|
cargo +nightly build
|
|
|
|
cargo +nightly run
|
2018-02-24 00:12:58 -08:00
|
|
|
|
2018-06-05 10:26:16 -07:00
|
|
|
bench:
|
2018-07-14 18:17:00 -07:00
|
|
|
cargo +nightly bench
|
2018-06-05 10:26:16 -07:00
|
|
|
|
2018-02-24 23:46:52 -08:00
|
|
|
test:
|
|
|
|
# runs the unit test suite
|
2018-07-25 19:19:03 -07:00
|
|
|
cargo +nightly test #-- --nocapture
|
2018-02-24 23:46:52 -08:00
|
|
|
|
2018-06-07 23:57:46 -07:00
|
|
|
update:
|
|
|
|
# updates local git repos (for forked bn lib)
|
2018-07-14 18:17:00 -07:00
|
|
|
cargo +nightly update
|
2018-06-07 23:57:46 -07:00
|
|
|
|
2018-02-24 23:46:52 -08:00
|
|
|
doc:
|
|
|
|
# generates the documentation
|
2018-08-14 10:05:33 -07:00
|
|
|
cargo +nightly doc
|
2018-02-24 23:46:52 -08:00
|
|
|
|
2018-02-24 00:12:58 -08:00
|
|
|
clean:
|
2018-07-14 18:17:00 -07:00
|
|
|
cargo +nightly clean
|