Skip to content

Commit e57daa6

Browse files
author
Mike Richter
committed
Use xcpretty #18463
1 parent 12ceb3b commit e57daa6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ program: Pods clean build
4747
# "test" appears to mean "build for testing and test", so the unit tests. Do that first, then make the real thing.
4848
.PHONY: unittest
4949
unittest: Pods
50-
xcodebuild $(XCODEBUILD_OPTIONS) CLASS_DUMP_VERSION=$(NUMERIC_VERSION)$(GIT_HASH) test
50+
xcodebuild $(XCODEBUILD_OPTIONS) CLASS_DUMP_VERSION=$(NUMERIC_VERSION)$(GIT_HASH) test \
51+
| tee xcodebuild-$@.log | xcpretty ; exit "$${PIPESTATUS[0]}"
5152

5253
.PHONY: build
5354
build:
54-
xcodebuild $(XCODEBUILD_OPTIONS) CLASS_DUMP_VERSION=$(NUMERIC_VERSION)$(GIT_HASH) clean build
55+
xcodebuild $(XCODEBUILD_OPTIONS) CLASS_DUMP_VERSION=$(NUMERIC_VERSION)$(GIT_HASH) clean build \
56+
| tee xcodebuild-$@.log | xcpretty ; exit "$${PIPESTATUS[0]}"
5557

5658
.PHONY: check
5759
check:

0 commit comments

Comments
 (0)