8000 caddy: use source downloaded by brew · ArduinoBot/homebrew-core@431abed · GitHub
[go: up one dir, main page]

Skip to content

Commit 431abed

Browse files
bayandinBrewTestBot
authored andcommitted
caddy: use source downloaded by brew
Closes Homebrew#60060. Signed-off-by: chenrui <chenrui333@gmail.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
1 parent 81b050b commit 431abed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Formula/caddy.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ def install
2525
revision = build.head? ? version.commit : "v#{version}"
2626

2727
resource("xcaddy").stage do
28-
system "go", "run", "cmd/xcaddy/main.go", "build", revision, "--output", bin/"caddy"
28+
system "go", "run", "cmd/xcaddy/main.go", "build", revision,
29+
"--with", "github.com/caddyserver/caddy/v2=#{buildpath}",
30+
"--output", bin/"caddy"
2931
end
3032
end
3133

0 commit comments

Comments
 (0)
0