We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5964896 commit b13f8eaCopy full SHA for b13f8ea
Makefile
@@ -1,7 +1,14 @@
1
-XCPRETTY_PATH := $(shell command -v xcpretty 2> /dev/null)
2
-XCPRETTY =
3
-ifdef XCPRETTY_PATH
4
- XCPRETTY = | xcpretty -c
+ # If xcbeautify or xcpretty is available, use it for xcodebuild output, except in CI.
+XCPRETTY =
+ifeq ($(CI),true)
+else
5
+ XCBEAUTIFY_PATH := $(shell command -v xcbeautify 2> /dev/null)
6
+ XCPRETTY_PATH := $(shell command -v xcpretty 2> /dev/null)
7
+ ifdef XCBEAUTIFY_PATH
8
+ XCPRETTY = | xcbeautify
9
+ else ifdef XCPRETTY_PATH
10
+ XCPRETTY = | xcpretty -c
11
+ endif
12
endif
13
14
test:
0 commit comments