From 408eb16bc548e78061f6e81c46a73546e91f8ecf Mon Sep 17 00:00:00 2001 From: Alexander Scheel Date: Mon, 10 Jul 2023 13:19:06 -0400 Subject: [PATCH] Remove fmtcheck from prep Signed-off-by: Alexander Scheel --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1418c7b1c95c..3d6a065a80da 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,12 @@ ci-lint: # prep runs `go generate` to build the dynamically generated # source files. -prep: fmtcheck +# +# n.b.: prep used to depend on fmtcheck, but since fmtcheck is +# now run as a pre-commit hook (and there's little value in +# making every build run the formatter), we've removed that +# dependency. +prep: @sh -c "'$(CURDIR)/scripts/goversioncheck.sh' '$(GO_VERSION_MIN)'" @$(GO_CMD) generate $$($(GO_CMD) list ./... | grep -v /vendor/) @if [ -d .git/hooks ]; then cp .hooks/* .git/hooks/; fi