Skip to content

Instantly share code, notes, and snippets.

@fxm90 fxm90/swiftlint.sh
Last active Sep 1, 2019

Embed
What would you like to do?
Check "SwiftLint" installed via CocoaPods. Add a new "Run Script Phase" with this gist.
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
You can’t perform that action at this time.