summaryrefslogtreecommitdiff
path: root/scripts/clang-tidy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/clang-tidy.sh')
-rwxr-xr-xscripts/clang-tidy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/clang-tidy.sh b/scripts/clang-tidy.sh
index a0a0aa20e4..ee3c1193ea 100755
--- a/scripts/clang-tidy.sh
+++ b/scripts/clang-tidy.sh
@@ -13,7 +13,7 @@ command -v ${CLANG_TIDY:-clang-tidy} >/dev/null 2>&1 || {
exit 1
}
-cd build/${HOST}-${HOST_VERSION}/${BUILDTYPE}
+cd build/${PLATFORM}-${SUBPLATFORM}/${BUILDTYPE}
git ls-files '../../../src/mbgl/*.cpp' '../../../platform/*.cpp' '../../../test/*.cpp' | \
xargs -I{} -P ${JOBS} ${CLANG_TIDY:-clang-tidy} -header-filter='\/mbgl\/' {}