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