Update script to generate grpc service files

v0.15.0
bumi 4 months ago
parent 30b1f2bddc
commit 050f0d0802
  1. 5
      generate-grpc-service-files.sh

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

Loading…
Cancel
Save