File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
cli/spring-boot-cli/src/main/homebrew Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 22
33class SpringBoot < Formula
44 homepage 'https://spring.io/projects/spring-boot'
5- url '${ repo}/ org/springframework/boot/spring-boot-cli/${version} /spring-boot-cli-${version} -bin.tar.gz'
6- version '${version} '
7- sha256 '${hash} '
5+ url 'https:// repo.maven.apache.org/maven2/ org/springframework/boot/spring-boot-cli/3.5.6 /spring-boot-cli-3.5.6 -bin.tar.gz'
6+ version '3.5.6 '
7+ sha256 '3ac9314100c474ddad1c4ae04a85404383817d6f748820980e26ccbe55393bbe '
88 head 'https://github.com/spring-projects/spring-boot.git' , :branch => "main"
99
1010 def install
@@ -16,9 +16,14 @@ def install
1616 root = '.'
1717 end
1818
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" ]
19+ libexec . install Dir [ "#{ root } /*" ]
20+
21+ ( bin /"spring" ) . write_env_script libexec /"bin/spring" , { }
22+
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?
2328 end
2429end
You can’t perform that action at this time.
0 commit comments