1
0
mirror of https://github.com/bumi/lnrpc synced 2025-06-15 21:08:13 +00:00

Update script to generate grpc service files

This commit is contained in:
bumi 2022-06-12 09:55:00 +02:00
parent 30b1f2bddc
commit 050f0d0802

View File

@ -18,9 +18,8 @@ for file in $PROTOS; do
echo "Generating protos from ${file}, into ${LNRPC_TARGET_DIR}/${DIRECTORY}"
# writes all ruby files in the ruby directory
grpc_tools_ruby_protoc -I/usr/local/include \
-I. \
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
grpc_tools_ruby_protoc -I. \
-I$GOPATH/src/github.com/googleapis/googleapis \
-I$GOPATH/src/github.com/lightningnetwork/lnd/lnrpc \
--ruby_out=plugins=grpc,paths=source_relative:${LNRPC_TARGET_DIR} \
--grpc_out=${LNRPC_TARGET_DIR} "${file}"