diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-05-16 11:35:00 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2019-05-16 11:35:00 -0700 |
commit | 5611ff267b7f11615516fd6efe8373b730999a0d (patch) | |
tree | c7d7e10274d17cd3e9ad7002ea77249a385c2577 /tools/copy_genfiles.sh.in | |
parent | f74cb51f113afcf579e60b74749cffffdf2a5f6a (diff) |
Moved bazel files to bazel/ directory.
Diffstat (limited to 'tools/copy_genfiles.sh.in')
-rwxr-xr-x | tools/copy_genfiles.sh.in | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/copy_genfiles.sh.in b/tools/copy_genfiles.sh.in deleted file mode 100755 index 5e22625..0000000 --- a/tools/copy_genfiles.sh.in +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -set -e - -BINDIR=`dirname "$0"`/.. -SRCDIR=${CMAKE_CURRENT_SOURCE_DIR} -EXIT=0 - -function try_copy() { - if [ ! -f $1 ]; then - echo "Can't find $1, skipping..." - EXIT=1 - else - cp $1 $2 - echo $1 - fi -} - -try_copy $BINDIR/google/protobuf/descriptor.upb.c $SRCDIR/google/protobuf -try_copy $BINDIR/google/protobuf/descriptor.upb.h $SRCDIR/google/protobuf -try_copy $BINDIR/upb/json/parser.c $SRCDIR/upb/json -try_copy $BINDIR/upb/pb/compile_decoder_x64.h $SRCDIR/upb/pb |