@@ -8,14 +8,6 @@ class Go < Formula
8
8
version "1.7"
9
9
sha256 "72680c16ba0891fcf2ccf46d0f809e4ecf47bbf889f5d884ccb54c5e9a17e1c0"
10
10
11
- # Should use the last stable binary release to bootstrap.
12
- # More explicitly, leave this at 1.7 when 1.7.1 is released.
13
- resource "gobootstrap" do
14
- url "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz"
15
- version "1.7"
16
- sha256 "51d905e0b43b3d0ed41aaf23e19001ab4bc3f96c3ca134b48f7892485fc52961"
17
- end
18
-
19
11
go_version = "1.7"
20
12
resource "gotools" do
21
13
url "https://go.googlesource.com/tools.git" ,
@@ -34,14 +26,6 @@ class Go < Formula
34
26
head do
35
27
url "https://github.com/golang/go.git"
36
28
37
- # Should use the last stable binary release to bootstrap.
38
- # More explicitly, leave this at 1.7 when 1.7.1 is released.
39
- resource "gobootstrap" do
40
- url "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz"
41
- version "1.7"
42
- sha256 "51d905e0b43b3d0ed41aaf23e19001ab4bc3f96c3ca134b48f7892485fc52961"
43
- end
44
-
45
29
resource "gotools" do
46
30
url "https://go.googlesource.com/tools.git"
47
31
end
@@ -53,6 +37,14 @@ class Go < Formula
53
37
54
38
depends_on :macos => :mountain_lion
55
39
40
+ # Should use the last stable binary release to bootstrap.
41
+ # More explicitly, leave this at 1.7 when 1.7.1 is released.
42
+ resource "gobootstrap" do
43
+ url "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz"
44
+ version "1.7"
45
+ sha256 "51d905e0b43b3d0ed41aaf23e19001ab4bc3f96c3ca134b48f7892485fc52961"
46
+ end
47
+
56
48
def install
57
49
( buildpath /"gobootstrap" ) . install resource ( "gobootstrap" )
58
50
ENV [ "GOROOT_BOOTSTRAP" ] = buildpath /"gobootstrap"
0 commit comments