Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if which swiftlint >/dev/null; then
# Relative path from the .xcodeproj which contains this script
swiftlint lint --config ../swiftlint.yml
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