forked from Instagram/IGListKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated script to pin SwiftLint version
Summary: Issue fixed: Instagram#847 Pinned SwiftLint to 20.1 Closes Instagram#854 Differential Revision: D5407797 Pulled By: rnystrom fbshipit-source-id: d092e9ff78853d6bb17e6b58d896ab1313e5d3c7
- Loading branch information
1 parent
1d773aa
commit 57bd9e2
Showing
4 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if which swiftlint >/dev/null && [ $(swiftlint version) == "0.20.1" ]; then | ||
swiftlint lint --config ../.swiftlint.yml | ||
else | ||
echo "warning: SwiftLint not installed or incorrect version installed, download from https://github.com/realm/SwiftLint" | ||
fi |