From 2a4c93cdc4bfbe52449f7cb7a0fba475fd942256 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Thu, 20 Dec 2018 15:25:04 +0100 Subject: [PATCH] lnrpc: add search path to gen_protos.sh Without this addition, sub servers cannot import google annotations in their proto files. --- lnrpc/gen_protos.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lnrpc/gen_protos.sh b/lnrpc/gen_protos.sh index acd5d8134..c6bddea6d 100755 --- a/lnrpc/gen_protos.sh +++ b/lnrpc/gen_protos.sh @@ -28,6 +28,7 @@ do echo "Generating protos from ${file}, into ${DIRECTORY}" protoc -I/usr/local/include -I.\ + -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \ --go_out=plugins=grpc,paths=source_relative:. \ ${file} done