From a33840c9f01359f7f3686bac32668a102898a7f9 Mon Sep 17 00:00:00 2001 From: Leon Klingele Date: Tue, 26 Feb 2019 01:30:33 +0100 Subject: [PATCH] go 1.12 --- Aliases/{go@1.11 => go@1.12} | 0 Formula/go.rb | 12 +++--------- 2 files changed, 3 insertions(+), 9 deletions(-) rename Aliases/{go@1.11 => go@1.12} (100%) diff --git a/Aliases/go@1.11 b/Aliases/go@1.12 similarity index 100% rename from Aliases/go@1.11 rename to Aliases/go@1.12 diff --git a/Formula/go.rb b/Formula/go.rb index b204372a22..7572630937 100644 --- a/Formula/go.rb +++ b/Formula/go.rb @@ -3,9 +3,9 @@ class Go < Formula homepage "https://golang.org" stable do - url "https://dl.google.com/go/go1.11.5.src.tar.gz" - mirror "https://fossies.org/linux/misc/go1.11.5.src.tar.gz" - sha256 "bc1ef02bb1668835db1390a2e478dcbccb5dd16911691af9d75184bbe5aa943e" + url "https://dl.google.com/go/go1.12.src.tar.gz" + mirror "https://fossies.org/linux/misc/go1.12.src.tar.gz" + sha256 "09c43d3336743866f2985f566db0520b36f4992aea2b4b2fd9f52f17049e88f2" go_version = version.to_s.split(".")[0..1].join(".") resource "gotools" do @@ -38,12 +38,6 @@ class Go < Formula end def install - # Temporary workaround for garbage folders which were included in the 1.11.5 release tarball - mv Dir.glob("go/*"), "./" - rm_rf "go" - rm_rf "gocache" - rm_rf "tmp" - (buildpath/"gobootstrap").install resource("gobootstrap") ENV["GOROOT_BOOTSTRAP"] = buildpath/"gobootstrap"