mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-13 00:17:18 +00:00
remove Analyze protos from gen_protos.sh #3571
This commit is contained in:
parent
3063f63536
commit
781157ae36
1 changed files with 0 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue