github.com/syumai/protoreflect@v1.7.1-0.20200810020253-2ac7e3b3a321/desc/protoprint/testfiles/check-protos.sh (about) 1 #!/usr/bin/env bash 2 3 set -e 4 5 cd $(dirname $0) 6 7 for f in *.proto; do 8 echo -n "Checking $f..." 9 protoc $f -o tmp.protoset -I ../../../internal/testprotos -I . 10 echo " good" 11 done 12 13 rm tmp.protoset