summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2023-12-08 16:48:19 +0100
committerSebastian Thiel <sebastian.thiel@icloud.com>2023-12-08 16:48:19 +0100
commit645474cfc6de5456a9ae7c0b50ee0302ca950cd2 (patch)
treeafd394587910ae57bbdb4f70dcf7d71f4a2741d7 /Makefile
parentbbcd30886f71fcb6e804d3f4170c5ae332c181ea (diff)
run clippy locally just like on CI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7766ad2..5cc5356 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ target/debug/dua: always
target/release/dua: always
cargo build --release
-lint: ## Run lints with clippy
- cargo clippy
+clippy: ## Run lints with clippy
+ cargo clippy -- -D warnings
profile: target/release/dua ## run callgrind and annotate its output - linux only
valgrind --callgrind-out-file=callgrind.profile --tool=callgrind $< >/dev/null