Skip to content

Instantly share code, notes, and snippets.

@JaviLorbada
Created May 7, 2017 16:19
Show Gist options
  • Save JaviLorbada/55f48b829c7847151ae8e55e580bfee2 to your computer and use it in GitHub Desktop.
Save JaviLorbada/55f48b829c7847151ae8e55e580bfee2 to your computer and use it in GitHub Desktop.
buddybuild_postclone phase
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