Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Formula/g/garble.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class Garble < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "902170d36e85bf17896979c2248fed20f2ba435bd2716051be2c5ddd44ed57f4"
end

depends_on "go" => [:build, :test]
# unpin go when the release is supporting Go 1.26, fixing https://github.com/burrowers/garble/issues/990
depends_on "go@1.25" => [:build, :test]

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
Expand All @@ -33,6 +34,8 @@ def install
}
GO

ENV.prepend_path "PATH", Formula["go@1.25"].opt_libexec/"bin" # for keg_only go 1.25 binary

# `garble` breaks our git shim by clearing the environment.
# Remove once git is no longer needed. See caveats:
# https://github.com/burrowers/garble?tab=readme-ov-file#caveats
Expand Down
Loading