summaryrefslogtreecommitdiff
path: root/scripts/package_ios.sh
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-03-19 14:40:44 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-03-19 14:40:44 -0700
commit1be8e6327bfaf66ab0c0a858a7e81acec12c0bf8 (patch)
tree57c4b5fcd78e02aea16f9f0c7b09657c0544d193 /scripts/package_ios.sh
parentae7bd9ac6ac12b37da0272ea7d1836f18a78ec10 (diff)
downloadqtlocation-mapboxgl-1be8e6327bfaf66ab0c0a858a7e81acec12c0bf8.tar.gz
Prepared podspec for beta 1
This podspec was originally lifted from mapbox/mapbox-ios-sdk, which was structured and built quite differently. We could have the podspec build this repo as is, using scripts/package_ios.sh, but that would require developers to install the same version of Xcode as Travis is using (see #977). So this podspec instead pulls a prebuilt library. Much simpler. Also package a LICENSE with the archive to satisfy a CocoaPods warning. Fixes #829.
Diffstat (limited to 'scripts/package_ios.sh')
-rwxr-xr-xscripts/package_ios.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/package_ios.sh b/scripts/package_ios.sh
index 89aac5ee79..588ff6d940 100755
--- a/scripts/package_ios.sh
+++ b/scripts/package_ios.sh
@@ -70,6 +70,7 @@ cp -pv include/mbgl/ios/* "${OUTPUT}/static/Headers"
# complications between faked GYP bundles-as-executables, device build
# dependencies, and code signing.
step "Copying Resources..."
+cp -pv LICENSE.md "${OUTPUT}/static"
mkdir -p "${OUTPUT}/static/${NAME}.bundle"
cp -pv platform/ios/resources/* "${OUTPUT}/static/${NAME}.bundle"
cp -prv styles/styles "${OUTPUT}/static/${NAME}.bundle/styles"