Created
August 29, 2017 11:56
-
-
Save Baza207/588423b58ca30bcf3745e8b806da9785 to your computer and use it in GitHub Desktop.
Default code to add to a Run Scrip Build Phase in Xcode for SwiftLint.
This file contains hidden or 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
if [ "$USER" != "xcodeserver" ]; then | |
if which swiftlint >/dev/null; then | |
swiftlint | |
else | |
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" | |
fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment