mobile: remember walletunlocker.proto
This commit is contained in:
parent
f144dea3da
commit
09b8bee865
@ -39,14 +39,21 @@ listeners="lightning=lightningLis walletunlocker=walletUnlockerLis"
|
|||||||
# one proto file is being parsed, it should only be done once.
|
# one proto file is being parsed, it should only be done once.
|
||||||
mem_rpc=1
|
mem_rpc=1
|
||||||
|
|
||||||
|
PROTOS="rpc.proto walletunlocker.proto"
|
||||||
|
|
||||||
opts="package_name=$pkg,target_package=$target_pkg,listeners=$listeners,mem_rpc=$mem_rpc"
|
opts="package_name=$pkg,target_package=$target_pkg,listeners=$listeners,mem_rpc=$mem_rpc"
|
||||||
protoc -I/usr/local/include -I. \
|
|
||||||
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
for file in $PROTOS; do
|
||||||
--plugin=protoc-gen-custom=$falafel\
|
echo "Generating mobile protos from ${file}"
|
||||||
--custom_out=./build \
|
|
||||||
--custom_opt="$opts" \
|
protoc -I/usr/local/include -I. \
|
||||||
--proto_path=../lnrpc \
|
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||||||
rpc.proto
|
--plugin=protoc-gen-custom=$falafel\
|
||||||
|
--custom_out=./build \
|
||||||
|
--custom_opt="$opts" \
|
||||||
|
--proto_path=../lnrpc \
|
||||||
|
"${file}"
|
||||||
|
done
|
||||||
|
|
||||||
# If prefix=1 is specified, prefix the generated methods with subserver name.
|
# If prefix=1 is specified, prefix the generated methods with subserver name.
|
||||||
# This must be enabled to support subservers with name conflicts.
|
# This must be enabled to support subservers with name conflicts.
|
||||||
|
Loading…
Reference in New Issue
Block a user