]> Cypherpunks repositories - gostls13.git/commit
cmd/api: update api checker to use go/types from std repo
authorRobert Griesemer <gri@golang.org>
Tue, 7 Apr 2015 18:04:01 +0000 (11:04 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 8 Apr 2015 04:09:34 +0000 (04:09 +0000)
commitb2a1fb74f4a15f97ab5a94861e1e78226077e477
tree8375363dfd668702fd207ef9dcf5fe179e15a9f1
parent5a97747c40aa23118b7b721d88038a584a5c3bc3
cmd/api: update api checker to use go/types from std repo

The old code checked out a specific version of go/types from the
x/tools repo. With go/types being part of the std repo, this is
not necessary anymore.

Also, for the same reason, the api tool is now built like any
other regular command. There's no need to build it for each run.
Removed the respective +build tags.

Change-Id: I5088e4867223d676957084c24651ec05452ac495
Reviewed-on: https://go-review.googlesource.com/8564
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/api/goapi.go
src/cmd/api/goapi_test.go
src/cmd/api/run.go