make: exclude autogenerated files from go fmt
This commit is contained in:
parent
e0439965bb
commit
6dfefe39ce
2
Makefile
2
Makefile
@ -46,7 +46,7 @@ GOINSTALL := GO111MODULE=on go install -v
|
|||||||
GOTEST := GO111MODULE=on go test
|
GOTEST := GO111MODULE=on go test
|
||||||
|
|
||||||
GOVERSION := $(shell go version | awk '{print $$3}')
|
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
|
RM := rm -f
|
||||||
CP := cp
|
CP := cp
|
||||||
|
Loading…
Reference in New Issue
Block a user