Skip to content

Commit

Permalink
Tidy up CLIPPY_DENY and have clippy target also use DENY
Browse files Browse the repository at this point in the history
This is neater and more uniform.

Signed-off-by: mulhern <[email protected]>
  • Loading branch information
mulkieran committed Sep 1, 2020
1 parent 2c56ba9 commit 3fb999e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ CLIPPY_DENY = -D clippy::pedantic \
-A clippy::too_many_lines \
-A clippy::unseparated_literal_suffix \
-A clippy::unused_self \
-D warnings

${HOME}/.cargo/bin/cargo-outdated:
cargo install cargo-outdated
Expand Down Expand Up @@ -124,7 +123,7 @@ stratisd.8.gz: stratisd.8
gzip --stdout docs/stratisd.8 > docs/stratisd.8.gz

clippy:
cargo clippy --all-targets --all-features -- ${CLIPPY_DENY}
cargo clippy --all-targets --all-features -- ${DENY} ${CLIPPY_DENY}

.PHONY:
audit
Expand Down

0 comments on commit 3fb999e

Please sign in to comment.