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 GoAT122 < Formula
5
5
mirror "https://fossies.org/linux/misc/go1.22.11.src.tar.gz"
6
6
sha256 "a60c23dec95d10a2576265ce580f57869d5ac2471c4f4aca805addc9ea0fc9fe"
7
7
license "BSD-3-Clause"
8
+ revision 1
8
9
9
10
livecheck do
10
11
url "https://go.dev/dl/?mode=json"
@@ -33,8 +34,6 @@ class GoAT122 < Formula
33
34
depends_on "go" => :build
34
35
35
36
def install
36
- inreplace "go.env" , /^GOTOOLCHAIN=.*$/ , "GOTOOLCHAIN=local"
37
-
38
37
cd "src" do
39
38
ENV [ "GOROOT_FINAL" ] = libexec
40
39
# Set portable defaults for CC/CXX to be used by cgo
@@ -53,17 +52,7 @@ def install
53
52
rm_r ( libexec /"src/runtime/pprof/testdata" )
54
53
end
55
54
56
- def caveats
57
- <<~EOS
58
- Homebrew's Go toolchain is configured with
59
- GOTOOLCHAIN=local
60
- per Homebrew policy on tools that update themselves.
61
- EOS
62
- end
63
-
64
55
test do
65
- assert_equal "local" , shell_output ( "#{ bin } /go env GOTOOLCHAIN" ) . strip
66
-
67
56
( testpath /"hello.go" ) . write <<~GO
68
57
package main
69
58
You can’t perform that action at this time.
0 commit comments