From d8412772403b29ea43ab7dfd9dee955414c7dc32 Mon Sep 17 00:00:00 2001 From: mulhern Date: Mon, 31 Aug 2020 22:51:07 -0400 Subject: [PATCH] Tidy up CLIPPY_DENY and have clippy target also use DENY This is neater and more uniform. Signed-off-by: mulhern --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b788923239..0672efe110 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -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