lnrpc: add search path to gen_protos.sh
Without this addition, sub servers cannot import google annotations in their proto files.
This commit is contained in:
parent
78cd07570b
commit
2a4c93cdc4
@ -28,6 +28,7 @@ do
|
||||
echo "Generating protos from ${file}, into ${DIRECTORY}"
|
||||
|
||||
protoc -I/usr/local/include -I.\
|
||||
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||||
--go_out=plugins=grpc,paths=source_relative:. \
|
||||
${file}
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user