[build] Wrap long commands

This commit is contained in:
Ben Chatelain 2017-05-23 11:05:57 -06:00
parent 281dcf084c
commit e2ef2349c8

View file

@ -11,11 +11,21 @@ main() {
} }
build() { 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() { 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 main