From ed78ba78fc62ff2cab9ee47f5601452a45bee960 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 19 Mar 2023 22:56:16 +0100 Subject: [PATCH] gofump don't touch code generated files (#1654) `make format` did touch code generated files witch creates a mess from time to time ... this change it ... --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f5281713c..3a4b16499 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./.git/*") GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/) TARGETOS ?= linux @@ -83,7 +82,7 @@ vendor: ## Update the vendor directory go mod vendor format: install-tools ## Format source code - @gofumpt -extra -w ${GOFILES_NOVENDOR} + @gofumpt -extra -w . .PHONY: clean clean: ## Clean build artifacts