Merge pull request #272 from mapbox/311

Upgrade to Mapbox iOS SDK 3.1.1-pre.1
This commit is contained in:
Bobby Sudekum
2016-02-11 08:46:14 -08:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
"url": "https://github.com/mapbox/react-native-mapbox-gl"
},
"scripts": {
"preinstall": "./scripts/download-mapbox-gl-native-ios.sh 3.1.0",
"preinstall": "./scripts/download-mapbox-gl-native-ios.sh 3.1.1-pre.1",
"test": "npm run lint",
"lint": "eslint --no-eslintrc -c .eslintrc index.ios.js index.android.js ios/example.js android/example.js",
"start": "node_modules/react-native/packager/packager.sh"
+3
View File
@@ -8,6 +8,9 @@ cd ios/
if ! which curl > /dev/null; then echo "curl command not found. Please install curl"; exit 1; fi;
if ! which unzip > /dev/null; then echo "unzip command not found. Please install unzip"; exit 1; fi;
if [ -f ./ios/Mapbox.framework ]; then
rm -rf ./ios/Mapbox.framework
fi
curl -sS https://mapbox.s3.amazonaws.com/mapbox-gl-native/ios/builds/mapbox-ios-sdk-$VERSION-dynamic.zip > temp.zip
unzip -o temp.zip -d temp