mirror of
https://github.com/Instagram/IGListKit
synced 2026-05-21 00:08:22 +00:00
Summary: Issue fixed: #847 Pinned SwiftLint to 20.1 Closes https://github.com/Instagram/IGListKit/pull/854 Differential Revision: D5407797 Pulled By: rnystrom fbshipit-source-id: d092e9ff78853d6bb17e6b58d896ab1313e5d3c7
5 lines
255 B
Bash
5 lines
255 B
Bash
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
|