preserves/implementations/rust/Makefile

14 lines
448 B
Makefile
Raw Normal View History

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