зеркало из https://github.com/github/vitess-gh.git
Make proto target depend on minimaltools, so we have protos installed in dist
Signed-off-by: Andrew Mason <amason@slack-corp.com>
This commit is contained in:
Родитель
672bf95e98
Коммит
99b507c2a8
4
Makefile
4
Makefile
|
@ -179,9 +179,9 @@ ifndef NOBANNER
|
|||
echo $$(date): Compiling proto definitions
|
||||
endif
|
||||
|
||||
$(PROTO_GO_OUTS): install_protoc-gen-go proto/*.proto
|
||||
$(PROTO_GO_OUTS): minimaltools install_protoc-gen-go proto/*.proto
|
||||
for name in $(PROTO_SRC_NAMES); do \
|
||||
$(VTROOT)/bin/protoc --go_out=plugins=grpc:. -I/usr/local/include:proto proto/$${name}.proto && \
|
||||
$(VTROOT)/bin/protoc --go_out=plugins=grpc:. -I${PWD}/dist/vt-protoc-3.6.1/include:proto proto/$${name}.proto && \
|
||||
goimports -w vitess.io/vitess/go/vt/proto/$${name}/$${name}.pb.go; \
|
||||
done
|
||||
cp -Rf vitess.io/vitess/go/vt/proto/* go/vt/proto
|
||||
|
|
Загрузка…
Ссылка в новой задаче