]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/clean.bat
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / src / clean.bat
index 3cc6a689bc2e46537106fac196aa28c93eb7c68b..6688b41e5e2c9d416235659a73f2aa0345ce1131 100644 (file)
@@ -1,31 +1,32 @@
-:: 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
-
-set GOBUILDFAIL=0
-
-go tool dist env -w -p >env.bat
-if errorlevel 1 goto fail
-call env.bat
-del env.bat
-echo.
-
-if exist %GOTOOLDIR%\dist.exe goto distok
-echo cannot find %GOTOOLDIR%\dist; nothing to clean
-goto fail
-:distok
-
-"%GOBIN%\go" clean -i std
-"%GOBIN%\go" tool dist clean
-"%GOBIN%\go" clean -i cmd
-
-goto end
-
-:fail
-set GOBUILDFAIL=1
-
-: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
+set GOBUILDFAIL=0\r
+\r
+go tool dist env -w -p >env.bat\r
+if errorlevel 1 goto fail\r
+call .\env.bat\r
+del env.bat\r
+echo.\r
+\r
+if exist %GOTOOLDIR%\dist.exe goto distok\r
+echo cannot find %GOTOOLDIR%\dist; nothing to clean\r
+goto fail\r
+:distok\r
+\r
+"%GOBIN%\go" clean -i std\r
+"%GOBIN%\go" tool dist clean\r
+"%GOBIN%\go" clean -i cmd\r
+\r
+goto end\r
+\r
+:fail\r
+set GOBUILDFAIL=1\r
+\r
+:end\r
+if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%\r