packaging: do not build proto files in ./vendor/
parent
3ac986a498
commit
93c5298712
4
Makefile
4
Makefile
|
@ -1,8 +1,8 @@
|
||||||
.PHONY: test all build clean test test-system test-unit update_version docs
|
.PHONY: test all build clean test test-system test-unit update_version docs
|
||||||
|
|
||||||
PROTOFILES=$(shell find . -name \*.proto -not -path ./vendor/\*)
|
PROTOFILES=$(shell find . -name \*.proto | grep -v vendor/ )
|
||||||
PBGOFILES=$(patsubst %.proto,%.pb.go,$(PROTOFILES))
|
PBGOFILES=$(patsubst %.proto,%.pb.go,$(PROTOFILES))
|
||||||
GOFILES=$(shell find . \( -name \*.go ! -name version.go \) )
|
GOFILES=$(shell find . \( -name \*.go ! -name version.go \) | grep -v .pb.go )
|
||||||
|
|
||||||
# for protoc-gen-go
|
# for protoc-gen-go
|
||||||
export PATH := $(GOPATH)/bin:$(PATH)
|
export PATH := $(GOPATH)/bin:$(PATH)
|
||||||
|
|
Loading…
Reference in New Issue