github.com/jhump/protoreflect@v1.16.0/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    ../../../internal/testprotos/protoc/bin/protoc $f --experimental_editions -o /dev/null -I ../../../internal/testprotos -I .
    10    echo "  good"
    11  done