From 9922eb51247af855a44fda31fd0a083c03ad2089 Mon Sep 17 00:00:00 2001 From: epi Date: Sun, 3 Apr 2022 20:43:12 -0500 Subject: [PATCH] added clippy to makefile --- Makefile.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index 1afc7d4..1da2b34 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -16,3 +16,10 @@ args = ["upgrade", "--exclude", "indicatif", "leaky-bucket"] [tasks.update] command = "cargo" args = ["update"] + +# clippy / lint +[tasks.clippy] +clear = true +script = """ +cargo clippy --all-targets --all-features -- -D warnings +"""