1 :: Copyright 2012 The Go Authors. All rights reserved.
2 :: Use of this source code is governed by a BSD-style
3 :: license that can be found in the LICENSE file.
9 if exist make.bat goto ok
10 echo all.bat must be run from go\src
11 :: cannot exit: would kill parent command interpreter
16 call make.bat --no-banner --no-local
17 if %GOBUILDFAIL%==1 goto end
18 call run.bat --no-rebuild --no-local
19 if %GOBUILDFAIL%==1 goto end
20 :: we must restore %PATH% before running "dist banner" so that the latter
21 :: can get the original %PATH% and give suggestion to add %GOROOT%/bin
22 :: to %PATH% if necessary.
24 "%GOTOOLDIR%/dist" banner
27 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%