-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Homebrew formula for the CLI should use libexec #47696
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
Homebrew formula for the CLI should use libexec #47696
Conversation
Signed-off-by: Vinicius Lublanski <vlublima@gmail.com>
Signed-off-by: Vinicius Lublanski <vlublima@gmail.com>
2bdcaba to
5be051c
Compare
|
Please don't paste screenshots, they aren't very helpful. What did you do locally for the command to succeed? It can't work as |
@snicoll And running the command what values for $repo, $version and $hash did you use to make it not work? |
I didn't do anything. I wanted to know what you did. With the value above, this is what I get I have no idea what |
@snicoll Are you using macOS? can happens on macOS because Homebrew first tries to interpret any local .rb file as a Cask (used for GUI apps). On Linux this doesn’t happen, so the formula installs fine. To fix this on macOS, please run the command with the --formula flag so Homebrew treats it correctly: That will force Homebrew to use the Formula loader instead of the Cask loader and should work as expected. |
Yes. Thanks for the hint! I am on the same page as you now. |
See gh-47696 Signed-off-by: Vinicius Lublanski <vlublima@gmail.com>
|
@snicoll |
Fixes #46866
Summary
This PR updates the spring-boot Homebrew formula to install JARs under libexec instead of lib.
This change follows Homebrew best practices to avoid conflicts between packages when HOMEBREW_DEVELOPER=true is enabled.
Changes
Verification
Tested locally with:
HOMEBREW_DEVELOPER=true brew install --build-from-source spring-bootResult: No warnings when running with HOMEBREW_DEVELOPER=true, and the CLI works as expected.
Before change

After change
