From e2ef2349c8e260f85c59be15329ea699af5b1800 Mon Sep 17 00:00:00 2001 From: Ben Chatelain Date: Tue, 23 May 2017 11:05:57 -0600 Subject: [PATCH] [build] Wrap long commands --- script/build | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/script/build b/script/build index 875e681..b50d698 100755 --- a/script/build +++ b/script/build @@ -11,11 +11,21 @@ main() { } build() { - set -o pipefail && xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -configuration Release clean build | xcpretty -c + set -o pipefail && \ + xcodebuild -project "mas-cli.xcodeproj" \ + -scheme mas-cli \ + -configuration Release \ + clean build \ + | xcpretty -c } archive() { - set -o pipefail && xcodebuild -project "mas-cli.xcodeproj" -scheme mas-cli -archivePath mas.xcarchive archive | xcpretty -c + set -o pipefail && \ + xcodebuild -project "mas-cli.xcodeproj" \ + -scheme mas-cli \ + -archivePath mas.xcarchive \ + archive \ + | xcpretty -c } main