From 9f24049bbca49448fcd5f3992a10d8f1dfdde287 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 22 Oct 2018 17:32:34 -0700 Subject: [PATCH] lnrpc/signrpc: add new gen_protos.sh to generate minimal protos In this commit, we add a new proto generation script to match the one in the main lnrpc package. This script differs, as we don't need to generate the REST proxy stuff (for now). --- lnrpc/signrpc/gen_protos.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 lnrpc/signrpc/gen_protos.sh diff --git a/lnrpc/signrpc/gen_protos.sh b/lnrpc/signrpc/gen_protos.sh new file mode 100755 index 00000000..86a583a8 --- /dev/null +++ b/lnrpc/signrpc/gen_protos.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +protoc -I/usr/local/include -I. \ + -I$GOPATH/src \ + --go_out=plugins=grpc:. \ + signer.proto