summaryrefslogtreecommitdiff
path: root/platform/ios/scripts/package.sh
diff options
context:
space:
mode:
authorAlf Watt <alf@istumbler.net>2019-03-21 16:26:10 -0700
committerGitHub <noreply@github.com>2019-03-21 16:26:10 -0700
commit74c832c687bb559c15ccccbee3481543f6064530 (patch)
treec6118007088c88cc4498a62ff6b0780de6d7a786 /platform/ios/scripts/package.sh
parentf2433c893da6df86637a9d8acc06435d60f5fb1e (diff)
downloadqtlocation-mapboxgl-74c832c687bb559c15ccccbee3481543f6064530.tar.gz
Update to `mapbox-events-ios` release `v0.9.1` (#14195)
MMENSDateWrapper -> MMEDate Add SKIP_DOCS flag to build pipeline for iOS
Diffstat (limited to 'platform/ios/scripts/package.sh')
-rwxr-xr-xplatform/ios/scripts/package.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/ios/scripts/package.sh b/platform/ios/scripts/package.sh
index 45aab45f3f..a37b3c7fda 100755
--- a/platform/ios/scripts/package.sh
+++ b/platform/ios/scripts/package.sh
@@ -11,6 +11,7 @@ PRODUCTS=${DERIVED_DATA}
LOG_PATH=build/xcodebuild-$(date +"%Y-%m-%d_%H%M%S").log
BUILD_FOR_DEVICE=${BUILD_DEVICE:-true}
+BUILD_DOCS=${BUILD_DOCS:-true}
SYMBOLS=${SYMBOLS:-YES}
BUILDTYPE=${BUILDTYPE:-Debug}
@@ -270,5 +271,7 @@ sed -i '' \
"${README}"
cp ${README} "${OUTPUT}"
-step "Generating API documentation…"
-make idocument OUTPUT="${OUTPUT}/documentation"
+if [ ${BUILD_DOCS} == true ]; then
+ step "Generating API documentation for ${BUILDTYPE} Build…"
+ make idocument OUTPUT="${OUTPUT}/documentation"
+fi