diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-14 11:55:00 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-06-14 12:20:08 +0300 |
commit | b00e6fc7e1ad56f2295aa819b9e7cb8abb2d5382 (patch) | |
tree | 9e62031500c7d61831cb0233507f5137425afae7 /Makefile | |
parent | b9702ef41a4cfdd0ab3107cfe5cec16ba3a4c230 (diff) | |
download | qtlocation-mapboxgl-b00e6fc7e1ad56f2295aa819b9e7cb8abb2d5382.tar.gz |
[tidy] Install mason clang-tidy if CLANG_TIDY is not set
Also added HeaderFilterRegex to .clang-tidy.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -306,10 +306,12 @@ compdb-macos: platform/macos/platform.gyp $(MACOS_OUTPUT_PATH)/config.gypi tidy: compdb tidy-$(HOST_PLATFORM) tidy-linux: + if test -z $(CLANG_TIDY); then .mason/mason install clang-tidy 3.8; fi deps/ninja/ninja-linux -C $(LINUX_OUTPUT_PATH)/$(BUILDTYPE) headers scripts/clang-tidy.sh $(LINUX_OUTPUT_PATH)/$(BUILDTYPE) tidy-macos: + if test -z $(CLANG_TIDY); then .mason/mason install clang-tidy 3.8; fi deps/ninja/ninja-macos -C $(MACOS_OUTPUT_PATH)/$(BUILDTYPE) headers scripts/clang-tidy.sh $(MACOS_OUTPUT_PATH)/$(BUILDTYPE) |