diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-07 13:49:37 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2013-08-07 13:49:37 -0700 |
commit | d5e97ea2f51f145e041a86db9eb7bfbc3f1adb75 (patch) | |
tree | db2c3708cce4f0e641c03644b091826a669800a9 /src/run.bat | |
parent | 326ae8d14e17227086239757ef2f131028997a72 (diff) | |
download | go-d5e97ea2f51f145e041a86db9eb7bfbc3f1adb75.tar.gz go-d5e97ea2f51f145e041a86db9eb7bfbc3f1adb75.zip |
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
Diffstat (limited to 'src/run.bat')
-rw-r--r-- | src/run.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.bat b/src/run.bat index 724ae2d9f5..36f594bb87 100644 --- a/src/run.bat +++ b/src/run.bat @@ -121,7 +121,7 @@ set GOMAXPROCS=%OLDGOMAXPROCS% set OLDGOMAXPROCS= echo # Checking API compatibility. -go tool api -c ..\api\go1.txt,..\api\go1.1.txt -next ..\api\next.txt -except ..\api\except.txt +go run --tags=from_src_run "%GOROOT%\src\cmd\api\run.go" if errorlevel 1 goto fail echo. |