]> Cypherpunks repositories - gostls13.git/commit
misc/dist: don't ship cmd/api
authorBrad Fitzpatrick <bradfitz@golang.org>
Fri, 2 Aug 2013 17:19:52 +0000 (10:19 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 2 Aug 2013 17:19:52 +0000 (10:19 -0700)
commitb8b48abe0fbd3ce6a1f8332da8ad6b8885a3aa1d
tree5afcc42df88fa6975906f0b3eaffe1021b7f4b51
parent6f8acd5fb93f26f59739343d945c6e26021cce57
misc/dist: don't ship cmd/api

cmd/api is a tool to prevent the Go developers from breaking
the Go 1 API promise. It has no utility to end users and
doesn't run on arbitrary packages (it's always been full of
hacks for its bespoke type checker to work on the standard
library)

Robert's in-progress rewrite depends on the go.tools repo for
go/types, so we won't be able to ship this tool later
anyway. Just remove it from binary distributions.

A future change to run.bash can conditionally build & run
cmd/api, perhaps automatically fetching go/types if
necessary. I assume people don't want to vendor go/types into
a private gopath just for cmd/api.

I will need help with run.bat.

R=golang-dev, adg, dsymonds, rsc
CC=golang-dev
https://golang.org/cl/12316043
misc/dist/bindist.go
src/run.bash