From 83b7513fae37bafb96e5998fa137a6b7e6f4f4d6 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Mon, 15 Jun 2020 09:57:56 +0200 Subject: [PATCH] Build all targets --- implementations/rust/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/implementations/rust/Makefile b/implementations/rust/Makefile index a87f31d..55ae66e 100644 --- a/implementations/rust/Makefile +++ b/implementations/rust/Makefile @@ -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