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).
This commit is contained in:
Olaoluwa Osuntokun 2018-10-22 17:32:34 -07:00
parent bbbdd7f6e9
commit 9f24049bbc
No known key found for this signature in database
GPG Key ID: CE58F7F8E20FD9A2

6
lnrpc/signrpc/gen_protos.sh Executable file

@ -0,0 +1,6 @@
#!/bin/sh
protoc -I/usr/local/include -I. \
-I$GOPATH/src \
--go_out=plugins=grpc:. \
signer.proto