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
Add which command for printing full path to binary #73
Conversation
|
@LinusU what's the motivation for a feature like this? @toshi0383 good point, though this isn't following symlinks as it's the path used in |
My main use case was being able to pass these paths into other programs that use the binary. e.g. passing the path to Carthage to XcodeGen. |
You should just be able to pass |
For fastlane usage it would be good to know the path. |
Seconding @mrgrauel's comment. We'd like to use Mint in combination with Fastlane, but without linking the binaries globally, since they might conflict with other versions in use by other projects. However, Fastlane isn't Mint-aware, so we can't for the So, this PR would be a great addition in our opinion. |
Absolutely true! Now I have this ugly hack in my Fastfile just to find out the path to swiftlint:
|
I'll add this feature this weekend after #145 |
For anyone stumbling upon this PR, I execute Swiftlint (From a Mintfile) via Fastlane like that:
|
@hilsenrat Thanks for tip with I don't know why, but without that addition,
Produce that output:
|
Example usage:
$ mint which LinusU/NotFound 🌱 Git repo not found at "https://github.com/LinusU/NotFound.git"