Skip to content

Commit

Permalink
➖ Remove xcpretty dependency from install script
Browse files Browse the repository at this point in the history
  • Loading branch information
phatblat committed Dec 21, 2018
1 parent a207955 commit 3660365
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions script/install
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 \
Expand Down

0 comments on commit 3660365

Please sign in to comment.