Created
June 20, 2018 07:37
-
-
Save kaskichandrakant/d187a4f5784590beb31dc6e8aeabfa3f to your computer and use it in GitHub Desktop.
This file contains 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/sh | |
echo "Running SwiftLint" | |
cd Sto | |
FILE_NAME=$(basename $PWD) | |
echo "running swiftlint in $FILE_NAME" | |
Swiftlint --strict | |
if [ $? != 0 ] ; then | |
echo "swiftlint failed make required changes to your code" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment