summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPiotr Wach <pwach@bloomberg.net>2023-12-09 14:25:58 +0000
committerPiotr Wach <pwach@bloomberg.net>2023-12-09 14:25:58 +0000
commit7fbc136f8d61676a89cd19c6035ec02a8bd14147 (patch)
treea243c460ecb45592980dc4d6a053f726bbc8793b /Makefile
parent949baf39c53060d1e5ef6df572b1cdc43a8a5cce (diff)
Adds new target that runs all the checks (to be used before creating a PR)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5cc5356..4517bd4 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,11 @@ check:## run cargo-check with various features
cargo check --no-default-features --features tui-crossplatform
cargo check --no-default-features --features trash-move
+fmt:
+ cargo fmt
+
+ready: fmt clippy tests
+
unit-tests: ## run all unit tests
cargo test --all
cargo test --all --no-default-features --features trash-move