summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-12-01 15:13:43 -0500
committerJason Wray <jason@mapbox.com>2017-12-01 15:26:40 -0500
commit2370461c9def1d6b09577ef3ec6782384e27c1bc (patch)
tree84dc5752f3c823b65d0f315017cd19af79512ab8 /Makefile
parent7e6ca6793a3fe508d4111a11a5887362707ddd26 (diff)
downloadqtlocation-mapboxgl-2370461c9def1d6b09577ef3ec6782384e27c1bc.tar.gz
[build] Lint iOS and macOS plists on CIupstream/fb-circleci-lint-plists
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d7678124f5..345f59c553 100644
--- a/Makefile
+++ b/Makefile
@@ -142,6 +142,10 @@ node: $(MACOS_PROJ_PATH)
macos-test: $(MACOS_PROJ_PATH)
set -o pipefail && $(MACOS_XCODEBUILD) -scheme 'CI' test $(XCPRETTY)
+.PHONY: macos-lint
+macos-lint:
+ find platform/macos -type f -name '*.plist' | xargs plutil -lint
+
.PHONY: xpackage
xpackage: $(MACOS_PROJ_PATH)
SYMBOLS=$(SYMBOLS) ./platform/macos/scripts/package.sh
@@ -218,6 +222,11 @@ ios: $(IOS_PROJ_PATH)
iproj: $(IOS_PROJ_PATH)
open $(IOS_WORK_PATH)
+.PHONY: ios-lint
+ios-lint:
+ find platform/ios/framework -type f -name '*.plist' | xargs plutil -lint
+ find platform/ios/app -type f -name '*.plist' | xargs plutil -lint
+
.PHONY: ios-test
ios-test: $(IOS_PROJ_PATH)
set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' test $(XCPRETTY)