Skip to content

Commit

Permalink
Consolidate redundant Makefile goals lint-all, sanitize-pr.
Browse files Browse the repository at this point in the history
  • Loading branch information
fisx committed Jun 11, 2024
1 parent 98dc98b commit aaf71b8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ devtest:
ghcid --command 'cabal repl integration' --test='Testlib.Run.mainI []'

.PHONY: sanitize-pr
sanitize-pr:
./hack/bin/generate-local-nix-packages.sh
make formatf
make hlint-inplace-pr
make hlint-check-pr # sometimes inplace has been observed not to do its job very well.
sanitize-pr: lint-all
make git-add-cassandra-schema
@git diff-files --quiet -- || ( echo "There are unstaged changes, please take a look, consider committing them, and try again."; exit 1 )
@git diff-index --quiet --cached HEAD -- || ( echo "There are staged changes, please take a look, consider committing them, and try again."; exit 1 )
Expand Down

0 comments on commit aaf71b8

Please sign in to comment.