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