summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2019-06-28 13:58:16 -0700
committerJason Wray <jason@mapbox.com>2019-07-02 12:22:03 -0700
commit3b1d437460939254191479bd730599c2418c20aa (patch)
tree65d7979626eda9770208dee7ac1c533cbc5458fa /Makefile
parent93ecf9ae302282dd6d98e4002a2a0d0dd3c006a7 (diff)
downloadqtlocation-mapboxgl-3b1d437460939254191479bd730599c2418c20aa.tar.gz
[ios, build] Add podspec lint script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 35bf097486..aefd0b0458 100644
--- a/Makefile
+++ b/Makefile
@@ -292,10 +292,14 @@ iproj: $(IOS_PROJ_PATH)
xed $(IOS_WORK_PATH)
.PHONY: ios-lint
-ios-lint:
+ios-lint: ios-pod-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-pod-lint
+ios-pod-lint:
+ ./platform/ios/scripts/lint-podspecs.js
+
.PHONY: ios-test
ios-test: $(IOS_PROJ_PATH)
set -o pipefail && $(IOS_XCODEBUILD_SIM) -scheme 'CI' test $(XCPRETTY)