diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clang-tools.sh | 4 | ||||
-rwxr-xr-x | scripts/tidy.sh | 17 |
2 files changed, 2 insertions, 19 deletions
diff --git a/scripts/clang-tools.sh b/scripts/clang-tools.sh index b49aadf520..ae3a5fa0e7 100755 --- a/scripts/clang-tools.sh +++ b/scripts/clang-tools.sh @@ -5,8 +5,8 @@ set -o pipefail export PATH="`pwd`/.mason:${PATH}" MASON_DIR="`pwd`/.mason" -CLANG_TIDY=${CLANG_TIDY:-$(mason prefix clang-tidy 3.8.0)/bin/clang-tidy} -CLANG_FORMAT=${CLANG_FORMAT:-$(mason prefix clang-format 3.8.0)/bin/clang-format} +CLANG_TIDY=${CLANG_TIDY:-$(mason prefix clang-tidy 3.9.1)/bin/clang-tidy} +CLANG_FORMAT=${CLANG_FORMAT:-$(mason prefix clang-format 3.9.1)/bin/clang-format} command -v ${CLANG_TIDY} >/dev/null 2>&1 || { echo "Can't find ${CLANG_TIDY} in PATH." diff --git a/scripts/tidy.sh b/scripts/tidy.sh deleted file mode 100755 index 424c82c3cd..0000000000 --- a/scripts/tidy.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -o pipefail - -# Ensure mason is on the PATH -export PATH="`pwd`/.mason:${PATH}" MASON_DIR="`pwd`/.mason" - -BUILDTYPE=${BUILDTYPE:-Release} - -export CLANG_TIDY=clang-tidy-3.8 - -mapbox_time "config" \ -make config - -mapbox_time "tidy" \ -make tidy |