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. 4 5@echo off 6 7setlocal 8 9if exist make.bat goto ok 10echo all.bat must be run from go\src 11:: cannot exit: would kill parent command interpreter 12goto end 13:ok 14 15call .\make.bat --no-banner --no-local 16if %GOBUILDFAIL%==1 goto end 17call .\run.bat --no-rebuild --no-local 18if %GOBUILDFAIL%==1 goto end 19"%GOTOOLDIR%/dist" banner 20 21:end 22if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL% 23