Build all targets

This commit is contained in:
Tony Garnock-Jones 2020-06-15 09:57:56 +02:00
parent b9aba35d39
commit 83b7513fae
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
# cargo install cargo-watch
watch:
cargo watch -c -x check -x 'test -- --nocapture'
cargo watch -c -x 'check --all-targets' -x 'test --all-targets -- --nocapture'
clippy-watch:
cargo watch -c -x clippy
cargo watch -c -x 'clippy --all-targets'
inotifytest:
inotifytest sh -c 'reset; cargo build && RUST_BACKTRACE=1 cargo test -- --nocapture'
inotifytest sh -c 'reset; cargo build --all-targets && RUST_BACKTRACE=1 cargo test --all-targets -- --nocapture'
debug-tests:
cargo test --no-run
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