diff --git a/hashes/contrib/test.sh b/hashes/contrib/test.sh index 6cf1e764..bb7fe2e8 100755 --- a/hashes/contrib/test.sh +++ b/hashes/contrib/test.sh @@ -22,6 +22,11 @@ export CARGO_TERM_VERBOSE=true cargo build --all cargo test --all +if [ "$DO_LINT" = true ] +then + cargo clippy --all-features --all-targets -- -D warnings +fi + if [ "$DO_FEATURE_MATRIX" = true ]; then cargo build --all --no-default-features cargo test --all --no-default-features