From a1229465b28a1dc1abfff35da2af35a02a86e552 Mon Sep 17 00:00:00 2001 From: Krasi Georgiev Date: Sat, 17 Feb 2018 12:27:36 +0200 Subject: [PATCH] genproto.sh - update protoc to 3.5, gogofast is now gofast --- scripts/genproto.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/genproto.sh b/scripts/genproto.sh index 846f23c1e..643c06200 100755 --- a/scripts/genproto.sh +++ b/scripts/genproto.sh @@ -10,8 +10,8 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then exit 255 fi -if ! [[ $(protoc --version) =~ "3.4" ]]; then - echo "could not find protoc 3.4.x, is it installed + in PATH?" +if ! [[ $(protoc --version) =~ "3.5" ]]; then + echo "could not find protoc 3.5.x, is it installed + in PATH?" exit 255 fi @@ -25,7 +25,7 @@ DIRS="prompb" for dir in ${DIRS}; do pushd ${dir} - protoc --gogofast_out=plugins=grpc:. -I=. \ + protoc --gofast_out=plugins=grpc:. -I=. \ -I="${GOGOPROTO_PATH}" \ -I="${PROM_PATH}" \ -I="${GRPC_GATEWAY_ROOT}/third_party/googleapis" \