mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-23 15:34:22 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user