Last active
September 1, 2019 10:19
-
-
Save fxm90/693ec0dbc6a048a1af0b987b2ab6a4b6 to your computer and use it in GitHub Desktop.
Check "SwiftLint" installed via CocoaPods. Add a new "Run Script Phase" with this gist.
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
SWIFTLINT="${PODS_ROOT}/SwiftLint/swiftlint" | |
if [ ! -f "$SWIFTLINT" ]; then | |
echo "warning: SwiftLint not installed!" | |
exit 1 | |
fi | |
$SWIFTLINT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment