From e1e5642b87600206fff4345195351d15a4c804d4 Mon Sep 17 00:00:00 2001 From: Christian Aistleitner Date: Sat, 7 Nov 2026 18:11:34 +0100 Subject: [PATCH] Add Makefile This allows to run the typical commands without having to remember all the options. --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7e5a3da --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +setup: + rustup component add rustfmt + rustup component add clippy + cargo install cargo-deny + +build: + cargo build --locked --release + +lint: + cargo fmt --check + cargo clippy --locked --all-targets -- -D warnings + cargo deny check + +fix: + cargo fmt + cargo clippy --locked --all-targets --fix --allow-dirty --allow-staged -- -D warnings + +test: + cargo test --locked