Skip to content

Commit 27b2dd6

Browse files
BrewTestBotchenrui333
authored andcommitted
garble 0.15.0
Signed-off-by: Rui Chen <[email protected]>
1 parent 7870839 commit 27b2dd6

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

Formula/g/garble.rb

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
class Garble < Formula
22
desc "Obfuscate Go builds"
33
homepage "https://github.com/burrowers/garble"
4-
url "https://github.com/burrowers/garble/archive/refs/tags/v0.14.2.tar.gz"
5-
sha256 "aea6e0a172296b50e3671a9b753aeb2eb7080a3103575cdf5e4d1aeccfe14ede"
4+
url "https://github.com/burrowers/garble/archive/refs/tags/v0.15.0.tar.gz"
5+
sha256 "b429b24dafa851a25bbeca635db33eb4162b8e3109fb234a2c8e7780a837b958"
66
license "BSD-3-Clause"
7-
revision 4
87
head "https://github.com/burrowers/garble.git", branch: "master"
98

109
bottle do
@@ -16,9 +15,7 @@ class Garble < Formula
1615
sha256 cellar: :any_skip_relocation, x86_64_linux: "c0863f7848ea5aa0f24afe53ba523773bfbc732a6082249970c86d2b99d8eee6"
1716
end
1817

19-
depends_on "go" => :build
20-
# Go version "go1.25.0" is too new; Go linker patches aren't available for go1.25 or later yet
21-
depends_on "[email protected]" => :test
18+
depends_on "go" => [:build, :test]
2219
depends_on "git"
2320

2421
def install
@@ -27,10 +24,6 @@ def install
2724
end
2825

2926
test do
30-
go = deps.find { |dep| dep.test? && dep.name.match?(/^go(@\d+(\.\d+)*)?$/) }
31-
.to_formula
32-
ENV.prepend_path "PATH", go.opt_bin
33-
3427
(testpath/"hello.go").write <<~GO
3528
package main
3629

0 commit comments

Comments
 (0)