summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-12-18 17:02:09 -0800
committerJason Wray <jason@mapbox.com>2018-03-26 16:26:29 -0400
commite018b01c428464a173e6440cdbbaf5baf6a16943 (patch)
treed52a68e7302f79969ba4de9c5efe0360c5a10b9f /Makefile
parent4b8c27edef8c87c00ef6e5be556f8a803723a5c0 (diff)
downloadqtlocation-mapboxgl-e018b01c428464a173e6440cdbbaf5baf6a16943.tar.gz
[ios, build] Run static analyzer on CircleCI
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8ba07366a2..79eeb6f910 100644
--- a/Makefile
+++ b/Makefile
@@ -243,6 +243,10 @@ ios-sanitize: $(IOS_PROJ_PATH)
ios-sanitize-address: $(IOS_PROJ_PATH)
set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' -enableAddressSanitizer YES test $(XCPRETTY)
+.PHONY: ios-static-analyzer
+ios-static-analyzer: $(IOS_PROJ_PATH)
+ set -o pipefail && $(IOS_XCODEBUILD_SIM) analyze -scheme 'CI' test $(XCPRETTY)
+
.PHONY: ipackage
ipackage: $(IOS_PROJ_PATH)
FORMAT=$(FORMAT) BUILD_DEVICE=$(BUILD_DEVICE) SYMBOLS=$(SYMBOLS) \