Created
August 17, 2019 05:57
-
-
Save rintoandrews90/e1530f4525ed1e9d2609d2c6c9aab5a7 to your computer and use it in GitHub Desktop.
Swiftlint
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
//Install Swift Linit | |
//brew install swiftlint | |
//Run Swiftlint autocorrect while building app. | |
//Build Phases => New Run Script Phase | |
if which swiftlint >/dev/null; then | |
swiftlint autocorrect | |
else | |
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint" | |
fi | |
/bin/sh | |
//Check Show environment variables in build log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment