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:
Joost Jager 2018-12-20 15:25:04 +01:00
parent 78cd07570b
commit 2a4c93cdc4
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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