make: exclude autogenerated files from go fmt

This commit is contained in:
Johan T. Halseth 2020-11-24 12:34:31 +01:00
parent e0439965bb
commit 6dfefe39ce
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -46,7 +46,7 @@ GOINSTALL := GO111MODULE=on go install -v
GOTEST := GO111MODULE=on go test
GOVERSION := $(shell go version | awk '{print $$3}')
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -name "*pb.go" -not -name "*pb.gw.go")
RM := rm -f
CP := cp