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 72de5a4 commit d841277
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ CLIPPY_DENY = -D clippy::pedantic \
-A clippy::single_match_else \
-A clippy::too_many_lines \
-A clippy::unseparated_literal_suffix \
-A clippy::unused_self \
-D warnings
-A clippy::unused_self

${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 d841277

Please sign in to comment.