diff options
Diffstat (limited to 'scripts/generate-benchmark-files.sh')
-rwxr-xr-x | scripts/generate-benchmark-files.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/generate-benchmark-files.sh b/scripts/generate-benchmark-files.sh deleted file mode 100755 index 0fb274cf31..0000000000 --- a/scripts/generate-benchmark-files.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -o pipefail - -echo "# Do not edit. Regenerate this with ./scripts/generate-benchmark-files.sh" > cmake/benchmark-files.cmake -echo "" >> cmake/benchmark-files.cmake -echo "set(MBGL_BENCHMARK_FILES" >> cmake/benchmark-files.cmake -PREFIX= -for FILE in $(git ls-files "benchmark/*.hpp" "benchmark/*.cpp" "benchmark/*.h" "benchmark/*.c" | sort) ; do - CURRENT_PREFIX=$(dirname ${FILE#benchmark/}) - if [ "${PREFIX}" != "${CURRENT_PREFIX}" ]; then - if [ ! -z "${PREFIX}" ]; then echo "" >> cmake/benchmark-files.cmake ; fi - echo " # ${CURRENT_PREFIX}" >> cmake/benchmark-files.cmake - PREFIX="${CURRENT_PREFIX}" - fi - echo " ${FILE}" >> cmake/benchmark-files.cmake -done -echo ")" >> cmake/benchmark-files.cmake -git diff cmake/benchmark-files.cmake |