Lines Matching +full:find +full:- +full:up
3 set -ex
7 if [[ -z "${PROTOC}" ]]; then
10 if [ ! -f $PROTOC ]; then
11 ${BAZEL:-bazel} $BAZEL_STARTUP_FLAGS build -c opt //:protoc $BAZEL_FLAGS
12 PROTOC=$(pwd)/bazel-bin/protoc
15 if [[ -d php/tmp && -z $(find php/tests/proto $PROTOC -newer php/tmp) ]]; then
16 # Generated protos are already present and up to date, so we can skip protoc.
20 echo "Test protos are up-to-date, skipping protoc."
24 rm -rf php/tmp
25 mkdir -p php/tmp
27 find php/tests/proto -type f -name "*.proto"| xargs $PROTOC --php_out=php/tmp -Isrc -Iphp/tests
29 if [ "$1" = "--aggregate_metadata" ]; then
32 $PROTOC --php_out=aggregate_metadata=foo#bar:php/tmp -Isrc -Iphp/tests $AGGREGATED_FILES
35 echo "Generated test protos from tests/proto -> tmp"