Skip to content

Commit d7b0919

Browse files
committed
Don't emit build logs to stdout if xcpretty is not present
1 parent b316d05 commit d7b0919

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
WORKSPACE=`pwd`
66

77
function xcodebuild_pretty {
8-
XCFORMATTER=tee
8+
XCFORMATTER=true
99
if hash xcpretty 2>/dev/null; then
1010
XCFORMATTER=xcpretty
1111
fi
@@ -84,4 +84,4 @@ xcrun -sdk iphoneos PackageApplication -v "$WORKSPACE/cmake-build/tests/TestRunn
8484
>> "$WORKSPACE/build.log" 2>&1
8585
TestRunner/Debug-iphoneos/TestRunner.app" \
8686
-o "$WORKSPACE/cmake-build/tests/TestRunner/Debug-iphoneos/TestRunner.ipa" \
87-
>> "$WORKSPACE/build.log" 2>&1
87+
>> "$WORKSPACE/build.log" 2>&1

0 commit comments

Comments
 (0)