We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dda15a commit 72832b0Copy full SHA for 72832b0
spring-boot-project/spring-boot-tools/spring-boot-cli/src/main/homebrew/spring-boot.rb
@@ -16,9 +16,14 @@ def install
16
root = '.'
17
end
18
19
- bin.install Dir["#{root}/bin/spring"]
20
- lib.install Dir["#{root}/lib/spring-boot-cli-*.jar"]
21
- bash_completion.install Dir["#{root}/shell-completion/bash/spring"]
22
- zsh_completion.install Dir["#{root}/shell-completion/zsh/_spring"]
+ libexec.install Dir["#{root}/*"]
+
+ (bin/"spring").write_env_script libexec/"bin/spring", {}
23
+ bash_comp = libexec/"shell-completion/bash/spring"
24
+ zsh_comp = libexec/"shell-completion/zsh/_spring"
25
26
+ bash_completion.install bash_comp if bash_comp.exist?
27
+ zsh_completion.install zsh_comp if zsh_comp.exist?
28
29
0 commit comments