]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/all.bat
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / all.bat
index 8bbd6b1b5dae5c0b1b893d0364557c327893965d..d5abec141f31aa277ebdc151ef9830c1c20fd82e 100644 (file)
@@ -1,27 +1,22 @@
-:: Copyright 2012 The Go Authors. All rights reserved.
-:: Use of this source code is governed by a BSD-style
-:: license that can be found in the LICENSE file.
-
-@echo off
-
-setlocal
-
-if exist make.bat goto ok
-echo all.bat must be run from go\src
-:: cannot exit: would kill parent command interpreter
-goto end
-:ok
-
-set OLDPATH=%PATH%
-call make.bat --no-banner --no-local
-if %GOBUILDFAIL%==1 goto end
-call run.bat --no-rebuild --no-local
-if %GOBUILDFAIL%==1 goto end
-:: we must restore %PATH% before running "dist banner" so that the latter
-:: can get the original %PATH% and give suggestion to add %GOROOT%/bin
-:: to %PATH% if necessary.
-set PATH=%OLDPATH%
-"%GOTOOLDIR%/dist" banner
-
-:end
-if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
+:: Copyright 2012 The Go Authors. All rights reserved.\r
+:: Use of this source code is governed by a BSD-style\r
+:: license that can be found in the LICENSE file.\r
+\r
+@echo off\r
+\r
+setlocal\r
+\r
+if exist make.bat goto ok\r
+echo all.bat must be run from go\src\r
+:: cannot exit: would kill parent command interpreter\r
+goto end\r
+:ok\r
+\r
+call .\make.bat --no-banner --no-local\r
+if %GOBUILDFAIL%==1 goto end\r
+call .\run.bat --no-rebuild --no-local\r
+if %GOBUILDFAIL%==1 goto end\r
+"%GOTOOLDIR%/dist" banner\r
+\r
+:end\r
+if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%\r