aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2016-10-22 15:00:28 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2016-10-23 03:47:44 +0000
commit91855792bab7b498b7b5ad911b0ffba928107888 (patch)
treea45ebb31bb96e18ff53b967af246f9ae66100b09
parent02118ad0a0cacb00c1d834b3b5e7a01d8b6327d4 (diff)
downloadgo-91855792bab7b498b7b5ad911b0ffba928107888.tar.gz
go-91855792bab7b498b7b5ad911b0ffba928107888.zip
cmd/api: skip api checks
The version of cmd/api on the release-go1.4 branch thinks the go.tools repo lives at code.google.com. There's no point in fixing it; disable it. Change-Id: Ieb189b1286b86b1d49a264548ee262301c95b014 Reviewed-on: https://go-review.googlesource.com/31752 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--src/cmd/api/run.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/api/run.go b/src/cmd/api/run.go
index ed5613edd2..202106b805 100644
--- a/src/cmd/api/run.go
+++ b/src/cmd/api/run.go
@@ -33,6 +33,10 @@ const goToolsVersion = "6698ca2900e2"
var goroot string
func main() {
+ // Go 1.4 will never have new API, and the code below has bit-rotted.
+ fmt.Println("Skipping cmd/api checks")
+ return
+
log.SetFlags(0)
goroot = os.Getenv("GOROOT") // should be set by run.{bash,bat}
if goroot == "" {