adobe/brackets-shell — pull request #325 by jsoverson (2013-09-06 22:00:06+00:00)
Title: Failing with useful message on mac build step

If xcodebuild didn't exist or wasn't executable, xcodebuild/xcrun would fail while still exiting with a 0 thereby allowing grunt to continue without noticing something was broken.

This does a quick check for general errors associated with xcrun and then fails the grunt task. The PR also includes the cmd and args that were run in the result output so the error messages can be more useful.