Skip to content

Commit 8cda6b1

Browse files
committed
fix compile_protos.sh
'make protos' will report errors due to compiling protos of 'testdata' of protobuf, just skip doing it. Change-Id: Ic96a33178cbc3e231703f1bde45b7673952c71a2 Signed-off-by: xiejunan <[email protected]>
1 parent c6e56d6 commit 8cda6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devenv/compile_protos.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eux
55
# Compile protos
66
ALL_PROTO_FILES="$(find . -name "*.proto" -exec readlink -f {} \;)"
77
PROTO_DIRS="$(dirname $ALL_PROTO_FILES | sort | uniq)"
8-
PROTO_DIRS_WITHOUT_JAVA_AND_SDK="$(printf '%s\n' $PROTO_DIRS | grep -v "shim/java" | grep -v "/sdk")"
8+
PROTO_DIRS_WITHOUT_JAVA_AND_SDK="$(printf '%s\n' $PROTO_DIRS | grep -v "shim/java" | grep -v "/sdk" | grep -v "/vendor")"
99
for dir in $PROTO_DIRS_WITHOUT_JAVA_AND_SDK; do
1010
cd "$dir"
1111
protoc --proto_path="$dir" --go_out=plugins=grpc:. "$dir"/*.proto

0 commit comments

Comments
 (0)