From 781157ae368b2218a0a56b889387dd26faa20f97 Mon Sep 17 00:00:00 2001 From: Cody Rose Date: Thu, 7 Nov 2024 16:59:20 -0500 Subject: [PATCH] remove Analyze protos from gen_protos.sh #3571 --- scripts/gen_proto.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/gen_proto.sh b/scripts/gen_proto.sh index 56d69a05dd9d..c7cedb578123 100755 --- a/scripts/gen_proto.sh +++ b/scripts/gen_proto.sh @@ -12,15 +12,3 @@ for pbfile in $(ls proto/); do --validate_out="lang=go,paths=source_relative:./pkg/pb/${mod}pb" \ proto/${mod}.proto done - -for pbfile in $(ls pkg/analyzer/proto/); do - mod=${pbfile%%.proto} - mkdir -p "./pkg/analyzer/pb/${mod}pb" - protoc -I pkg/analyzer/proto/ \ - -I ${GOPATH}/src \ - -I /usr/local/include \ - -I ${GOPATH}/src/github.com/envoyproxy/protoc-gen-validate \ - --go_out=plugins=grpc:./pkg/analyzer/pb/${mod}pb --go_opt=paths=source_relative \ - --validate_out="lang=go,paths=source_relative:./pkg/analyzer/pb/${mod}pb" \ - pkg/analyzer/proto/${mod}.proto -done