preserves/implementations/rust/Makefile

14 lines
360 B
Makefile
Raw Normal View History

# cargo install cargo-watch
watch:
2019-09-19 20:34:40 +00:00
cargo watch -c -x check -x 'test -- --nocapture'
2019-10-20 12:57:10 +00:00
clippy-watch:
cargo watch -c -x clippy
2019-06-29 22:02:27 +00:00
inotifytest:
inotifytest sh -c 'reset; cargo build && RUST_BACKTRACE=1 cargo test -- --nocapture'
debug-tests:
cargo test --no-run
gdb --args $$(cargo test 3>&1 1>&2 2>&3 3>&- | grep Running | awk '{print $$2}') --test-threads=1