summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-01-12 20:52:39 +0200
committerLars Wirzenius <liw@liw.fi>2020-01-12 20:52:39 +0200
commit585b5b0b68feae9c8ac25d55755242e1d6efec07 (patch)
treedb7f7819a2bdb8b415f4fee3aba5d42723567de8 /check
parent4c5057b76f226e28f33ed619dc19c26addd0c98f (diff)
downloadsubplot-585b5b0b68feae9c8ac25d55755242e1d6efec07.tar.gz
Change: make ./check be more verbose and also build all targets
Diffstat (limited to 'check')
-rwxr-xr-xcheck5
1 files changed, 3 insertions, 2 deletions
diff --git a/check b/check
index 00d60ae..8330c2b 100755
--- a/check
+++ b/check
@@ -11,11 +11,12 @@ docgen() {
cargo run -q --bin sp-docgen -- "$1" --output "$2"
}
+cargo build --all-targets
if cargo --list | awk '{ print $1 }' | grep 'clippy$' > /dev/null
then
- cargo clippy -q
+ cargo clippy
fi
-cargo test -q
+cargo test
if command -v rustfmt > /dev/null
then