-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Building SwiftLint CLI as a standalone/portable file ? #731
Comments
Just noticed the doh |
As you mentioned, Docker doesn't support OS X guests, so this would require supporting Linux first. I just created an issue for that (#732). I'll close this one since it's quite a ways away. |
Would the portable_zip approach be helpful or it won't run properly on a non-OS X environment? |
SwiftLint relies on SourceKit, which at the moment isn't included in Linux releases of Swift, so that first needs to be done. So just building the source for SwiftLint isn't enough to make it run on Linux. |
Yeah that was my initial instinct but wanted to make sure. |
There's actually an official Swift image Wouldn't that help? |
@vovimayhem the official Swift releases for Linux don't include SourceKit, but swiftlang/swift#8189 will address that. |
@freak4pc SwiftLint seems to fully support Linux now, any news on the Codeclimate Plugin/Engine? |
@caiofbpa I have actually dropped this since then and just have a Danger rule. Don't think I'll be pursuing this anytime soon :) |
Hey guys,
I'm trying to build an integration for CodeClimate that uses SwiftLint.
Their developer platform only allows using Docker and Docker can't run Xcode or OSX so I can't build SwiftLint on the machine.
Would it be possible somehow to "pack" SwiftLint CLI in a standalone format that could be part of a DockerImage ?
Thanks :)
Shai.
The text was updated successfully, but these errors were encountered: