diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-01-11 14:45:53 -0800 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-01-13 14:53:39 +0200 |
commit | a3e9c74dc6f28a25e508c4ce7e0e5424b9d646f4 (patch) | |
tree | f1407a752827355451e73565ae35d4f2abc8ce29 /scripts/clang-tools.sh | |
parent | 00bacf59517668227412aa35041417372489394c (diff) | |
download | qtlocation-mapboxgl-a3e9c74dc6f28a25e508c4ce7e0e5424b9d646f4.tar.gz |
[build] Upgrade clang-tidy and clang-format
Version 3.8.0 was removed from mason.
Diffstat (limited to 'scripts/clang-tools.sh')
-rwxr-xr-x | scripts/clang-tools.sh | 4 |
1 files changed, 2 insertions, 2 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." |