mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-08 17:22:05 +02: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}"
|
echo "Generating protos from ${file}, into ${DIRECTORY}"
|
||||||
|
|
||||||
protoc -I/usr/local/include -I.\
|
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:. \
|
--go_out=plugins=grpc,paths=source_relative:. \
|
||||||
${file}
|
${file}
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user