Skip to content

Commit

Permalink
ci: make xcodebuild logs more legible with xcbeautify (#1713)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Nov 30, 2023
1 parent a70e962 commit fdf1e8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ brew 'ktlint'
brew 'n'
brew 'swiftformat'
brew 'swiftlint'
brew 'xcbeautify'
brew 'yarn'
cask 'temurin11'
5 changes: 4 additions & 1 deletion scripts/xcodebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,11 @@ if [[ "$CCACHE_DISABLE" != "1" ]]; then

ccache --zero-stats 1> /dev/null
fi
if ! command -v xcbeautify 1> /dev/null; then
brew install xcbeautify
fi

eval "$build_cmd"
eval "$build_cmd" | xcbeautify

if [[ "$CCACHE_DISABLE" != "1" ]]; then
ccache --show-stats --verbose
Expand Down

0 comments on commit fdf1e8c

Please sign in to comment.