diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-10 17:34:08 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-10 17:35:01 +0300 |
commit | 83a3c18bdb2637b9eff9a0f510debfe9dd86d6cb (patch) | |
tree | 8208e5c6f28f836aaef121d70203efe74e1354b0 /scripts | |
parent | 07da939a76e3bc8953b675a3bbeb2727c8f0dde4 (diff) | |
download | qtlocation-mapboxgl-83a3c18bdb2637b9eff9a0f510debfe9dd86d6cb.tar.gz |
[build] Update compdb & tidy for Linux & OS X
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clang-tidy.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/clang-tidy.sh b/scripts/clang-tidy.sh index 9420518747..76773e475a 100755 --- a/scripts/clang-tidy.sh +++ b/scripts/clang-tidy.sh @@ -12,6 +12,11 @@ command -v ${CLANG_TIDY:-clang-tidy} >/dev/null 2>&1 || { if [ -z ${CLANG_TIDY} ]; then echo "Alternatively, you can set CLANG_TIDY to point to clang-tidy." fi + if [ `uname -s` = 'Linux' ]; then + echo "On Debian-based distros, you can install them via 'apt-get install clang-tidy'" + elif [ `uname -s` = 'Darwin' ]; then + echo "On OS X, you can install them via 'brew install llvm --with-clang --with-clang-extra-tools'" + fi exit 1 } |