diff options
Diffstat (limited to 'Makefile')
-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 + |