Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Distribute OCLint through CocoaPods #489

Open
72A12F4E opened this issue Dec 29, 2017 · 2 comments
Open

Feature Request: Distribute OCLint through CocoaPods #489

72A12F4E opened this issue Dec 29, 2017 · 2 comments

Comments

@72A12F4E
Copy link

Issue Summary

It would be cool if OCLint distributed precompiled binaries through CocoaPods, similar to how SwiftLint makes their binaries available. This would make integration with iOS projects much simpler.

Resources

https://github.com/realm/SwiftLint#using-cocoapods

@ryuichis
Copy link
Contributor

Think this is a good idea, and I wish I can work on it myself, but looking into my calendar, my time is already committed. I appreciate the idea, and will be grateful if any community effort can help and move towards this direction.

@fetzig
Copy link

fetzig commented Feb 20, 2018

@72A12F4E +1, because cocoapods brings a couple of additional benefits, but...

...even without cocoapods, swiftlint setup is way simpler. runscript added to "normal/main" target looks like this:

swiftlint lint --config "${SRCROOT}/.swiftlint.yml"

that's it.

yml looks like this:

included:
  - Source
  - Tests
excluded:
  - Tests/SwiftLintFrameworkTests/Resources
opt_in_rules:
  - empty_count
  - file_header
  - explicit_init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants