mirror of https://github.com/golang/go.git
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>
This commit is contained in:
parent
02118ad0a0
commit
91855792ba
|
|
@ -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 == "" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue