Last active
July 25, 2017 20:57
-
-
Save olbrichj/a927cd5ff5176c354bea40ee828fa163 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
LINT=$(which swiftlint) | |
if [[ -e "${LINT}" ]]; then | |
echo "SwiftLint Start..." | |
else | |
echo "SwiftLint does not exist, download from https://github.com/realm/SwiftLint" | |
exit 1 | |
fi | |
$LINT lint --quiet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment