Skip to content

Commit b668d3e

Browse files
Makefile: ignore capturing protobuf files in GOFILES_NOVENDOR
before adding `make rpc-check` to CI workflow, make sure we ignore capturing protobuf generated files so they don't conflict with `make fmt` and endup fail in the CI
1 parent 6b83fdd commit b668d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ GOTEST := GO111MODULE=on go test
2929

3030
GOLIST := go list -deps $(PKG)/... | grep '$(PKG)'
3131
GOLIST_COVER := $$(go list -deps $(PKG)/... | grep '$(PKG)')
32-
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
32+
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -name "*.pb.go")
3333

3434
RM := rm -f
3535
CP := cp

0 commit comments

Comments
 (0)