From 53692567e805c46ae8e4ff8397face6c4f804133 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 7 Jan 2020 09:23:55 +1000 Subject: [PATCH] make sure rust tests rerun on source change; don't hide output --- rslib/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rslib/Makefile b/rslib/Makefile index 1cafeb946..8d6ee1f6e 100644 --- a/rslib/Makefile +++ b/rslib/Makefile @@ -31,8 +31,8 @@ RUST_TOOLCHAIN := $(shell cat rust-toolchain) rustup component add clippy-preview --toolchain $(RUST_TOOLCHAIN) @touch $@ -.build/check: .build/rs-tools - cargo test +.build/check: .build/rs-tools $(ALL_SOURCE) + cargo test -- --nocapture cargo fmt -- --check cargo clippy -- -D warnings @touch $@