diff options
author | Jason Wray <jason@mapbox.com> | 2017-12-01 15:13:43 -0500 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2017-12-04 12:50:12 -0800 |
commit | 72c99e169391b5b3b4e7010f7e3a223f5e1c02e5 (patch) | |
tree | d5f22d7d7d1d9212cc28f2b14f41c47a18f02865 | |
parent | 911c966932638031869b537dc7848e3bb2989a75 (diff) | |
download | qtlocation-mapboxgl-72c99e169391b5b3b4e7010f7e3a223f5e1c02e5.tar.gz |
[build] Lint iOS and macOS plists on CI
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | circle.yml | 6 |
2 files changed, 15 insertions, 0 deletions
@@ -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) diff --git a/circle.yml b/circle.yml index ee6a833097..36d16c68d6 100644 --- a/circle.yml +++ b/circle.yml @@ -686,6 +686,9 @@ jobs: - *reset-ccache-stats - *build-ios-test - *check-public-symbols + - run: + name: Lint plist files + command: make ios-lint - *show-ccache-stats - *save-cache @@ -742,6 +745,9 @@ jobs: - *reset-ccache-stats - *build-macos-test - *check-public-symbols + - run: + name: Lint plist files + command: make macos-lint - *show-ccache-stats - *save-cache - store_artifacts: |