This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 3333 - secure : " R/JfoBMrkhCGWhfWM1m3gPHuLtMBlp2SIK1R9BaPbRsbGBUJmAg9V0g0YXSaw8SVxoyuiL/jsLtHPfDeub9oTxrYydew+6/4KaoQdG7EGXQJfBhH2f0ag/hTKJfXnmZX9jMMnTxPf5Axjq+w4E6sKkU2+d1oAJRhrqzYNwDhVlc="
3434 - CXX_STD : " c++11"
3535
36+ # Install any required tools
37+ before_install :
38+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then sudo gem install xcpretty ; fi
39+
3640# Set up the source tree by fetching Linux-specific prebuilt objects
3741install :
3842 - if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then (cd prebuilt && ./fetch-libraries.sh linux) ; fi
Original file line number Diff line number Diff line change 5353 BUILD_PROJECT := livecode
5454endif
5555
56+ # Prettifying output for CI builds
57+ ifeq ($(TRAVIS ) ,true)
58+ XCODEBUILD := set -o pipefail && $(XCODEBUILD )
59+ XCODEBUILD_FILTER := | xcpretty
60+ else
61+ XCODEBUILD_FILTER :=
62+ endif
63+
5664# ###############################################################
5765
5866.DEFAULT : all
@@ -132,10 +140,11 @@ config-mac:
132140
133141compile-mac :
134142 $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target default \
135- | egrep ' ^(/.+:[0-9+:[0-9]+:.(error|warning):|fatal|===) '
143+ $( XCODEBUILD_FILTER )
136144
137145check-mac :
138- $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target check
146+ $(XCODEBUILD ) -project " build-mac$( BUILD_SUBDIR) /$( BUILD_PROJECT) .xcodeproj" -configuration $(BUILDTYPE ) -target check \
147+ $(XCODEBUILD_FILTER )
139148 $(MAKE ) check-common-mac
140149
141150
You can’t perform that action at this time.
0 commit comments