Exclude benches from 'make lint' clippy run

This commit is contained in:
kngwyu 2020-06-18 20:32:31 +09:00
parent a840ebbb5a
commit ac922e5756
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ fmt:
clippy:
@touch src/lib.rs # Touching file to ensure that cargo clippy will re-check the project
cargo clippy --features=all-stable --all-targets -- \
cargo clippy --features=all-stable --tests -- \
$(addprefix -D ,${CLIPPY_LINTS_TO_DENY})
for example in examples/*; do (cd $$example/; cargo clippy) || exit 1; done