Skip to content

Commit ac922e5

Browse files
committed
Exclude benches from 'make lint' clippy run
1 parent a840ebb commit ac922e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fmt:
1616

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

0 commit comments

Comments
 (0)