Created
February 8, 2017 17:12
-
-
Save MattNewberry/9ccb65598c6e27ca9b8f641bf3a226ca to your computer and use it in GitHub Desktop.
Bluepill step
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
#install bluepill | |
git clone [email protected]:linkedin/bluepill.git "$BITRISE_SOURCE_DIR/bluepill" | |
#build bluepill | |
cd "$BITRISE_SOURCE_DIR/bluepill" | |
./scripts/bluepill.sh build | |
#switch to GuestCenter project directory | |
cd $BITRISE_SOURCE_DIR | |
#run xcodebuild | |
set -o pipefail && env "NSUnbufferedIO=YES" xcodebuild -project $PROJECT_PATH -scheme $SCHEME -sdk iphonesimulator10.2 build-for-testing SYMROOT="$BITRISE_SOURCE_DIR/build/Products" | |
#run bluepill | |
set -o pipefail && env "NSUnbufferedIO=YES" /usr/local/bin/bluepill -a $APP_PATH -s $SCHEME_PATH -S 5000 -T 5000 -J -o "/Users/vagrant/deploy/" -H -n 2 -R 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment