]> Cypherpunks repositories - gostls13.git/commit
build: change how cmd/api is run in run.bash and run.bat
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 7 Aug 2013 20:49:37 +0000 (13:49 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 7 Aug 2013 20:49:37 +0000 (13:49 -0700)
commitd5e97ea2f51f145e041a86db9eb7bfbc3f1adb75
treedb2c3708cce4f0e641c03644b091826a669800a9
parent326ae8d14e17227086239757ef2f131028997a72
build: change how cmd/api is run in run.bash and run.bat

In prep for Robert's forthcoming cmd/api rewrite which
depends on the go.tools subrepo, we'll need to be more
careful about how and when we run cmd/api.

Rather than implement this policy in both run.bash and
run.bat, this change moves the policy and mechanism into
cmd/api/run.go, which will then evolve.

The plan is in a TODO in run.go.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/12482044
misc/dist/bindist.go
src/cmd/api/run.go [new file with mode: 0644]
src/run.bash
src/run.bat