added clippy to makefile

This commit is contained in:
epi
2022-04-03 20:43:12 -05:00
parent 7a58f8fcf8
commit 9922eb5124

View File

@@ -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
"""