Skip to content

Commit fdf1e8c

Browse files
authored
ci: make xcodebuild logs more legible with xcbeautify (#1713)
1 parent a70e962 commit fdf1e8c

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Brewfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ brew 'ktlint'
44
brew 'n'
55
brew 'swiftformat'
66
brew 'swiftlint'
7+
brew 'xcbeautify'
78
brew 'yarn'
89
cask 'temurin11'

scripts/xcodebuild.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,11 @@ if [[ "$CCACHE_DISABLE" != "1" ]]; then
5757

5858
ccache --zero-stats 1> /dev/null
5959
fi
60+
if ! command -v xcbeautify 1> /dev/null; then
61+
brew install xcbeautify
62+
fi
6063

61-
eval "$build_cmd"
64+
eval "$build_cmd" | xcbeautify
6265

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

0 commit comments

Comments
 (0)