Skip to content

Instantly share code, notes, and snippets.

@egradman
Created October 8, 2014 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egradman/4d06441158f27dbbc68f to your computer and use it in GitHub Desktop.
Save egradman/4d06441158f27dbbc68f to your computer and use it in GitHub Desktop.
#!/bin/bash
the_dir=$1
the_proj=$the_dir/*.xcodeproj
mkdir -p bin
rsync -avz $the_dir/bin/data/ bin/data
cp $the_dir/run.command . || :
xcodebuild -project $the_proj CONFIGURATION_BUILD_DIR=`pwd`/bin && sshpass -p 2bc rsync -avz --exclude=bin/data/ofxRemoteUISettings.xml ./ $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment