diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-05-24 09:36:47 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-05-27 10:46:49 +0300 |
commit | b731f752e19a85c92699071cf669226fb767c084 (patch) | |
tree | 802e26e5943c84b072ea74cabe29de3e280210ce /check | |
parent | 8d94529db55fe7107e42ab86255d9d49388c340a (diff) | |
download | obnam2-b731f752e19a85c92699071cf669226fb767c084.tar.gz |
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
Diffstat (limited to 'check')
-rwxr-xr-x | check | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |