Remove xcpretty dependency from install script

This commit is contained in:
Ben Chatelain 2018-12-20 21:16:11 -07:00
parent a207955140
commit 3660365dd3

View file

@ -1,4 +1,9 @@
#!/bin/bash -ex
#
# script/install
# This script is called by the Homebrew formula, so should not
# rely on any dependencies.
#
BUILD_DIR="$PWD/build"
PROJECT="mas-cli.xcodeproj"
@ -23,16 +28,14 @@ fi
echo "==> 📲 Installing mas ($VERSION) to $PREFIX"
set -o pipefail && \
xcodebuild \
-project "$PROJECT" \
-scheme "$SCHEME" \
-configuration "$CONFIG" \
OBJROOT="$BUILD_DIR" \
SYMROOT="$BUILD_DIR" \
DSTROOT="$INSTALL_TEMPORARY_FOLDER" \
install \
| bundle exec xcpretty --color
xcodebuild \
-project "$PROJECT" \
-scheme "$SCHEME" \
-configuration "$CONFIG" \
OBJROOT="$BUILD_DIR" \
SYMROOT="$BUILD_DIR" \
DSTROOT="$INSTALL_TEMPORARY_FOLDER" \
install
# Deep copy MasKit.framework
ditto -v \