realm / SwiftLint

A tool to enforce Swift style and conventions.
https://realm.github.io/SwiftLint
MIT License
18.47k stars 2.2k forks source link

Add CocoaPods CLI usage instructions #939

Closed jpsim closed 7 years ago

jpsim commented 7 years ago

Support was added in #936, but since we couldn't confirm it worked until a release, I didn't add usage instructions to the readme. This ticket tracks doing so once we've confirmed the distribution approach works.

jpsim commented 7 years ago

Now that we've made a release after #936, I've tested this out and it seems to work!

pod 'SwiftLint'

in the Podfile, then pod install, then the Pods/SwiftLint/swiftlint binary is available.

We could shamelessly copy @AliSoftware's excellent SwiftGen's installation instructions for this ^_^.