go: devel requires Yosemite or newer

Ref: 479018150c
This commit is contained in:
Dominyk Tiller 2018-08-22 01:26:55 +01:00
parent 63ef3b6fd8
commit 81278bba7c
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -19,6 +19,8 @@ class Go < Formula
url "https://github.com/golang/go/commit/1a92cdbfc10e0c66f2e015264a39159c055a5c15.patch?full_index=1" url "https://github.com/golang/go/commit/1a92cdbfc10e0c66f2e015264a39159c055a5c15.patch?full_index=1"
sha256 "9b879e3e759d56093ca7660305c3e4f8aee8acdd87126dc10985360395704139" sha256 "9b879e3e759d56093ca7660305c3e4f8aee8acdd87126dc10985360395704139"
end end
depends_on :macos => :mountain_lion
end end
bottle do bottle do
@ -37,6 +39,8 @@ class Go < Formula
url "https://go.googlesource.com/tools.git", url "https://go.googlesource.com/tools.git",
:branch => "release-branch.go1.11" :branch => "release-branch.go1.11"
end end
depends_on :macos => :yosemite
end end
head do head do
@ -50,8 +54,6 @@ class Go < Formula
option "without-cgo", "Build without cgo (also disables race detector)" option "without-cgo", "Build without cgo (also disables race detector)"
option "without-race", "Build without race detector" option "without-race", "Build without race detector"
depends_on :macos => :mountain_lion
# Don't update this unless this version cannot bootstrap the new version. # Don't update this unless this version cannot bootstrap the new version.
resource "gobootstrap" do resource "gobootstrap" do
url "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz" url "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz"