diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 14:34:40 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-03 15:38:36 +0100 |
commit | 673e87f6516917d5c45a1c96c7a9c56ed6fef2cc (patch) | |
tree | b98b8d3aa2a9fb849cd2ef08fcd58e1606fe0a96 /docker/clang-tidy/tidy.sh | |
parent | 0c8eeea665a783b8fe82c2b6d9f01cad6cb1054e (diff) | |
download | qtlocation-mapboxgl-673e87f6516917d5c45a1c96c7a9c56ed6fef2cc.tar.gz |
[build] refactor Docker scripts + add clang-tidy script
Diffstat (limited to 'docker/clang-tidy/tidy.sh')
-rwxr-xr-x | docker/clang-tidy/tidy.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docker/clang-tidy/tidy.sh b/docker/clang-tidy/tidy.sh new file mode 100755 index 0000000000..9c939d219b --- /dev/null +++ b/docker/clang-tidy/tidy.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +# set -e +# set -o pipefail + +export FLAVOR=linux +export CXX=clang++-3.8 +export BUILDTYPE=Release + +cd build + +# before_install +source ./scripts/travis_helper.sh + +# install +./scripts/${FLAVOR}/install.sh + +export CLANG_TIDY=clang-tidy-3.8 +make tidy |