Skip to content

Instantly share code, notes, and snippets.

@MattNewberry
Created February 8, 2017 17:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattNewberry/9ccb65598c6e27ca9b8f641bf3a226ca to your computer and use it in GitHub Desktop.
Save MattNewberry/9ccb65598c6e27ca9b8f641bf3a226ca to your computer and use it in GitHub Desktop.
Bluepill step
#!/bin/bash
set -ex
#install bluepill
git clone git@github.com: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