Skip to content

Commit

Permalink
fix protoc relative path issue -- especially for proto depend import;…
Browse files Browse the repository at this point in the history
… ref issue: golang/protobuf#748;
  • Loading branch information
wxue committed Oct 25, 2019
1 parent 17cc2d3 commit 61828f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ PROTO_FILES=./protos/node/node.proto \
./protos/escrow/escrow.proto \
./protos/ledger/ledger.proto \
# ./protos/status/status.proto \
# ./protos/guard/guard.proto \
PB_OUT_PATH=$$GOPATH/src

install:
brew install protobuf
Expand All @@ -21,5 +20,5 @@ lintf:
build: lintf
for proto in $(PROTO_FILES); \
do \
eval protoc -I. --go_out=plugins=grpc:. $$proto ; \
eval protoc -I. --go_out=plugins=grpc:$(PB_OUT_PATH) $$proto ; \
done

0 comments on commit 61828f1

Please sign in to comment.