moredip/Frank — pull request #201 by akikoskinen (2013-04-29 14:01:01+00:00)
Title: If building fails exit immediately with an error code

Currently when executing 'frank build' and if the 'xcodebuild' process fails to build the project the script just keeps on going and eventually exits with a 0 status code. This is bad for example CI systems where failures would be noticed from the exit code. The current behavior marks the build as successful although it's not.

With this patch 'frank build' returns the same error code as the xcodebuild execution
does if it fails.