From b731f752e19a85c92699071cf669226fb767c084 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 24 May 2021 09:36:47 +0300 Subject: build: don't hid clippy warnings Previously we were hiding (with chronic) clippy output if it was successful. However, clippy exits with zero even if it writes warnings. Thus, chronic is the wrong solution. The output also contains progress reporting from cargo, which is unwanted, thus, this commit replaces chronic with the clippy -q option, to get rid of the progress reporting. Sponsored-by: author --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index bcb04e0..ba187fc 100755 --- a/check +++ b/check @@ -20,7 +20,7 @@ got_cargo_cmd() cargo "$1" --help > /dev/null } -got_cargo_cmd clippy && $hideok cargo clippy --all-targets +got_cargo_cmd clippy && cargo clippy --all-targets -q $hideok cargo build --all-targets got_cargo_cmd fmt && $hideok cargo fmt -- --check $hideok cargo test -- cgit v1.2.1