From aaf71b801f871011907a1b35e9d655855d133027 Mon Sep 17 00:00:00 2001 From: Matthias Fischmann Date: Sat, 8 Jun 2024 15:54:08 +0200 Subject: [PATCH] Consolidate redundant Makefile goals lint-all, sanitize-pr. --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 40e8876bb52..dacc5c883b4 100644 --- a/Makefile +++ b/Makefile @@ -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 )