Skip to content

Commit 8f8e45c

Browse files
committed
Fix Homebrew formula's install --head support
This commit updates the Homebrew formula's install --head support to account for the new location of the CLI. Closes gh-47878
1 parent 9a46328 commit 8f8e45c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/spring-boot-cli/src/main/homebrew/spring-boot.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ class SpringBoot < Formula
99

1010
def install
1111
if build.head?
12-
system './gradlew spring-boot-project:spring-boot-tools:spring-boot-cli:tar'
13-
system 'tar -xzf spring-boot-project/spring-boot-tools/spring-boot-cli/build/distributions/spring-* -C spring-boot-project/spring-boot-tools/spring-boot-cli/build/distributions'
14-
root = 'spring-boot-project/spring-boot-tools/spring-boot-cli/build/distributions/spring-*'
12+
system './gradlew cli:spring-boot-cli:tar'
13+
system 'tar -xzf cli/spring-boot-cli/build/distributions/spring-* -C cli/spring-boot-cli/build/distributions'
14+
root = 'cli/spring-boot-cli/build/distributions/spring-*'
1515
else
1616
root = '.'
1717
end

0 commit comments

Comments
 (0)