diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-12-09 18:36:38 +0100 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2023-12-09 18:36:38 +0100 |
commit | 9135c18e27a75b23921f9bba4281af9543017a66 (patch) | |
tree | 3020aa469beb3e7811bfb7f82bd6825f82897184 | |
parent | 7fbc136f8d61676a89cd19c6035ec02a8bd14147 (diff) |
adjust names of `make fmt` and `make ready`; `fmt` now only checks
Let's not have the makefile change the codebase itself.
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -22,6 +22,9 @@ target/release/dua: always clippy: ## Run lints with clippy cargo clippy -- -D warnings +check-fmt: ## Validate that the codebase is formatted correctly (but do not format it) + cargo fmt --check + profile: target/release/dua ## run callgrind and annotate its output - linux only valgrind --callgrind-out-file=callgrind.profile --tool=callgrind $< >/dev/null callgrind_annotate --auto=yes callgrind.profile @@ -39,11 +42,6 @@ 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 @@ -57,3 +55,5 @@ journey-tests: target/debug/dua ## run stateless journey tests continuous-journey-tests: ## run stateless journey tests whenever something changes watchexec $(MAKE) journey-tests +check-pre-push: check-fmt clippy tests ## Run this before pushing for a good chance that CI will be green + |