diff options
author | Rob Pike <r@golang.org> | 2013-03-06 13:16:43 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2013-03-06 13:16:43 -0800 |
commit | a25486e4b16b5a97a9dff552359c0bf716114b32 (patch) | |
tree | 3fb076ff49aa55f8c851ed40a8e8bc2a77e62f88 /src/make.bat | |
parent | 0ed517e5e68813581de8f6a7e94211d82ff36dd2 (diff) | |
download | go-a25486e4b16b5a97a9dff552359c0bf716114b32.tar.gz go-a25486e4b16b5a97a9dff552359c0bf716114b32.zip |
make.bash,bat: add -tags gotypes to the build
This installs type checking into go vet.
(To be removed before releasing Go 1.1)
R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/7528044
Diffstat (limited to 'src/make.bat')
-rw-r--r-- | src/make.bat | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/make.bat b/src/make.bat index be1c8f52dc..5caba73b17 100644 --- a/src/make.bat +++ b/src/make.bat @@ -90,14 +90,16 @@ echo # Building tools for local system. %GOHOSTOS%/%GOHOSTARCH% setlocal set GOOS=%GOHOSTOS% set GOARCH=%GOHOSTARCH% -"%GOTOOLDIR%\go_bootstrap" install -gcflags "%GO_GCFLAGS%" -ldflags "%GO_LDFLAGS%" -v std +:: TODO: Drop the -tags gotypes before releasing Go 1.1. It is to allow type checking in go vet. +"%GOTOOLDIR%\go_bootstrap" install -gcflags "%GO_GCFLAGS%" -ldflags "%GO_LDFLAGS%" -tags gotypes -v std endlocal if errorlevel 1 goto fail echo. :mainbuild echo # Building packages and commands. -"%GOTOOLDIR%\go_bootstrap" install -gcflags "%GO_GCFLAGS%" -ldflags "%GO_LDFLAGS%" -a -v std +:: TODO: Drop the -tags gotypes before releasing Go 1.1. It is to allow type checking in go vet. +"%GOTOOLDIR%\go_bootstrap" install -gcflags "%GO_GCFLAGS%" -ldflags "%GO_LDFLAGS%" -a -tags gotypes -v std if errorlevel 1 goto fail del "%GOTOOLDIR%\go_bootstrap.exe" echo. |