Skip to content

Instantly share code, notes, and snippets.

@fxm90 fxm90/swiftlint.sh
Created Sep 30, 2017

Embed
What would you like to do?
Check "SwiftLint" installed via CocoaPods. Add a new "Run Script Phase" with this gist.
if [ -f "${PODS_ROOT}/SwiftLint/swiftlint" ]; then
${PODS_ROOT}/SwiftLint/swiftlint
else
echo "warning: SwiftLint not installed!"
fi
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.