mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
ios-deploy, download ios-sim from s3
This commit is contained in:
@@ -75,15 +75,30 @@ cd build
|
||||
# ios-sim is used to run iPhone simulator from the command-line. Doesn't make
|
||||
# sense to build it for linux.
|
||||
if [ "$OS" == "osx" ]; then
|
||||
which rake # rake is required to build ios-sim
|
||||
git clone https://github.com/phonegap/ios-sim.git
|
||||
cd ios-sim
|
||||
git checkout 2.0.1
|
||||
rake build
|
||||
which build/Release/ios-sim # check that we have in fact got the binary
|
||||
# the build from source is not going to work on old OS X versions, until we
|
||||
# upgrade our Mac OS X Jenkins machine, download the precompiled tarball
|
||||
|
||||
# which rake # rake is required to build ios-sim
|
||||
# git clone https://github.com/phonegap/ios-sim.git
|
||||
# cd ios-sim
|
||||
# git checkout 2.0.1
|
||||
# rake build
|
||||
# which build/Release/ios-sim # check that we have in fact got the binary
|
||||
# mkdir -p "$DIR/lib/ios-sim"
|
||||
# cp -r build/Release/* "$DIR/lib/ios-sim/"
|
||||
|
||||
# Download the precompiled tarball
|
||||
IOS_SIM_URL="http://android-bundle.s3.amazonaws.com/ios-sim.tgz"
|
||||
curl "$IOS_SIM_URL" | tar xfz -
|
||||
mkdir -p "$DIR/lib/ios-sim"
|
||||
cp -r build/Release/* "$DIR/lib/ios-sim/"
|
||||
echo "done building ios-sim"
|
||||
cp -r ios-sim/ios-sim "$DIR/lib/ios-sim"
|
||||
|
||||
git clone https://github.com/phonegap/ios-deploy.git
|
||||
cd ios-deploy
|
||||
make
|
||||
cd ..
|
||||
mkdir -p "$DIR/lib/ios-deploy"
|
||||
cp -r ios-deploy/ios-deploy "$DIR/lib/ios-deploy"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user