Skip to content

Commit

Permalink
Fix xcbeautify exit status (#66)
Browse files Browse the repository at this point in the history
We need to make sure to set pipefail
  • Loading branch information
erichoracek authored Dec 10, 2021
1 parent a527b22 commit 81236a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ end

private

def xcodebuild(arguments)
sh "xcodebuild #{arguments} | mint run xcbeautify"
def xcodebuild(command)
sh "set -o pipefail && xcodebuild #{command} | mint run xcbeautify"
end

0 comments on commit 81236a3

Please sign in to comment.