From 94fe66dbef0f971925d9d60f0c19fefd30f54f3e Mon Sep 17 00:00:00 2001 From: Janus Date: Tue, 6 Feb 2018 12:31:12 +0100 Subject: [PATCH] use protoc in ~/go/bin --- protoc_lightning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protoc_lightning.sh b/protoc_lightning.sh index 7e35d3b2..14c02c00 100755 --- a/protoc_lightning.sh +++ b/protoc_lightning.sh @@ -9,5 +9,5 @@ if [ ! -d $HOME/go/src/github.com/lightningnetwork/lnd ]; then echo "You need an lnd with electrum-bridge (ysangkok/lnd maybe?) checked out since we implement the interface from there, and need it to generate code" exit 1 fi -protoc -I$HOME/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --python_out=lib/ln $HOME/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/*.proto +~/go/bin/protoc -I$HOME/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --python_out=lib/ln $HOME/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api/*.proto python3 -m grpc_tools.protoc -I $HOME/go/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --proto_path $HOME/go/src/github.com/lightningnetwork/lnd/electrum-bridge --python_out=lib/ln --grpc_python_out=lib/ln ~/go/src/github.com/lightningnetwork/lnd/electrum-bridge/rpc.proto