Closed nehabans closed 2 years ago
You can specify the binary_path
config option (described in the readme) to point to a custom SwiftLint install path, and skip the SwiftLint installation by setting the DANGER_SKIP_SWIFTLINT_INSTALL
environment variable equal to YES
:
We could probably do a better job of documenting that. Could you verify that works for you, and if you have time, open up a pull request for our readme?
Thanks @ashfurrow, appreciate your quick response. It worked for us and solved a big issue within our organisation. I have raised a PR with an update to ReadMe.
Wonderful! Thanks for the PR and following up that this worked. I’ll close the issue.
Hi, I am trying to install danger swiftlint version 0.26.0 on a mac but I am trying to download it using Artifactory package manager which does not allow me to use github.com with rubygems.org. I want the gem installer to go via artifactory for portable_swiftlint package and not go directly to github.com. I am not sure which rakefile or config file danger_swiftlint is using to download portable_swiftint, the one which I updated inside /ext/swiftlint gets changed everytime I run the below command and keeps pointing to github.com.