From 462e695a6e6ce0edb1fbb2b8cd45aa0b16c46fd9 Mon Sep 17 00:00:00 2001 From: Khenziii Date: Sat, 20 Jan 2024 14:47:41 +0100 Subject: [PATCH] add cargo-make to dev deps & create Cargo.toml pre-commit stuff --- Cargo.toml | 3 +++ Makefile.toml | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 Makefile.toml diff --git a/Cargo.toml b/Cargo.toml index 9a63c8b..7fccdf9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,3 +12,6 @@ license-file = "LICENSE" [dependencies] clippy = "0.0.302" + +[dev-dependencies] +cargo-make = "0.37.7" diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..5165252 --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,2 @@ +[tasks.pre-commit] +command = "cargo clippy --all-targets --all-features"