Created
May 7, 2017 16:19
-
-
Save JaviLorbada/55f48b829c7847151ae8e55e580bfee2 to your computer and use it in GitHub Desktop.
buddybuild_postclone phase
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
echo "Updating Swiftlint..." | |
brew uninstall --force swiftlint | |
brew install swiftlint | |
brew switch swiftlint 0.18.1 | |
echo "Creating Xcodeproj..." | |
swift package generate-xcodeproj \ | |
--enable-code-coverage | |
echo "Xcodebuild tests!" | |
xcodebuild -project "${PROJECT_NAME}.xcodeproj" \ | |
-scheme "${PROJECT_SCHEME}" \ | |
-sdk "macosx" \ | |
-enableCodeCoverage YES \ | |
-skipUnavailableActions test | |
echo "DerivedData/ Directory" | |
ls ~/Library/Developer/Xcode/DerivedData/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment