Skip to content

Commit

Permalink
Merge branch 'make_ready_pre_pr_checks'
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 9, 2023
2 parents 949baf3 + 9135c18 commit 606d60f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,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

0 comments on commit 606d60f

Please sign in to comment.