github.com/ice-blockchain/go/src@v0.0.0-20240403114104-1564d284e521/all.bat (about) 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 7 setlocal 8 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 12 goto end 13 :ok 14 15 call .\make.bat --no-banner --no-local 16 if %GOBUILDFAIL%==1 goto end 17 call .\run.bat --no-rebuild --no-local 18 if %GOBUILDFAIL%==1 goto end 19 "%GOTOOLDIR%/dist" banner 20 21 :end 22 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%