We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, xcpretty always returns zero. It should look for "BUILD SUCCEEDED" and "BUILD FAILED" in the xcodebuild output and exit accordingly.
xcpretty
This makes it hard to do e.g.
if xcodebuild build foo | xcpretty; then do_things_with_build_results else do_things_with_build_error fi
The text was updated successfully, but these errors were encountered:
Try set -o pipefail && xcodebuild build foo | xcpretty to get the pipe to return an error if any of the piped commands return an error.
set -o pipefail && xcodebuild build foo | xcpretty
Sorry, something went wrong.
Thanks!
No branches or pull requests
Currently,
xcpretty
always returns zero. It should look for "BUILD SUCCEEDED" and "BUILD FAILED" in the xcodebuild output and exit accordingly.This makes it hard to do e.g.
The text was updated successfully, but these errors were encountered: