File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ class GoAT121 < Formula
5
5
mirror "https://fossies.org/linux/misc/go1.21.13.src.tar.gz"
6
6
sha256 "71fb31606a1de48d129d591e8717a63e0c5565ffba09a24ea9f899a13214c34d"
7
7
license "BSD-3-Clause"
8
+ revision 1
8
9
9
10
bottle do
10
11
rebuild 1
@@ -27,8 +28,6 @@ class GoAT121 < Formula
27
28
depends_on "go" => :build
28
29
29
30
def install
30
- inreplace "go.env" , /^GOTOOLCHAIN=.*$/ , "GOTOOLCHAIN=local"
31
-
32
31
cd "src" do
33
32
ENV [ "GOROOT_FINAL" ] = libexec
34
33
# Set portable defaults for CC/CXX to be used by cgo
@@ -47,17 +46,7 @@ def install
47
46
rm_r ( libexec /"src/runtime/pprof/testdata" )
48
47
end
49
48
50
- def caveats
51
- <<~EOS
52
- Homebrew's Go toolchain is configured with
53
- GOTOOLCHAIN=local
54
- per Homebrew policy on tools that update themselves.
55
- EOS
56
- end
57
-
58
49
test do
59
- assert_equal "local" , shell_output ( "#{ bin } /go env GOTOOLCHAIN" ) . strip
60
-
61
50
( testpath /"hello.go" ) . write <<~GO
62
51
package main
63
52
You can’t perform that action at this time.
0 commit comments