lukeredpath/betabuilder — pull request #40 by epall (2012-04-18 00:48:04+00:00)
Title: Fail Rake task if build fails

If xcodebuild fails, it doesn't necessarily return a non-zero exit code. We have to go into the output and see if it emitted a ** BUILD FAILED ** line to determine that. It's useful to halt Rake if we have other tasks that depend on the build succeeding.