-
Notifications
You must be signed in to change notification settings - Fork 796
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #217 from bizz84/feature/add-xcpretty
Feature/add xcpretty
- Loading branch information
Showing
4 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
#!/bin/bash | ||
bold=$(tput bold) | ||
normal=$(tput sgr0) | ||
|
||
xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_iOS | ||
xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_macOS | ||
xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_tvOS | ||
echo "${bold}/*****************************/" | ||
echo "/* Build: SwiftyStoreKit_iOS */" | ||
echo "/*****************************/${normal}" | ||
set -o pipefail && xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_iOS | tee xcodebuild.log | xcpretty | ||
|
||
xcodebuild test -project SwiftyStoreKit.xcodeproj -scheme SwiftyStoreKitTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | ||
echo "" | ||
echo "${bold}/*******************************/" | ||
echo "/* Build: SwiftyStoreKit_macOS */" | ||
echo "/*******************************/${normal}" | ||
set -o pipefail && xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_macOS | tee xcodebuild.log | xcpretty | ||
|
||
echo "" | ||
echo "${bold}/******************************/" | ||
echo "/* Build: SwiftyStoreKit_tvOS */" | ||
echo "/******************************/${normal}" | ||
set -o pipefail && xcodebuild -project SwiftyStoreKit.xcodeproj -target SwiftyStoreKit_tvOS | tee xcodebuild.log | xcpretty | ||
|
||
echo "" | ||
echo "${bold}/****************************/" | ||
echo "/* Run: SwiftyStoreKitTests */" | ||
echo "/****************************/${normal}" | ||
set -o pipefail && xcodebuild test -project SwiftyStoreKit.xcodeproj -scheme SwiftyStoreKitTests -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | tee xcodebuild.log | xcpretty |