Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(51)

Delta Between Two Patch Sets: src/clean.bat

Issue 5685047: code review 5685047: build: implement clean.bat (Closed)
Left Patch Set: Created 13 years, 1 month ago
Right Patch Set: diff -r 217f1b9183cd https://go.googlecode.com/hg/ Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
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 @echo off
5
6 setlocal
7
8 set GOBUILDFAIL=0
9
10 go tool dist env -wp >env.bat
11 if errorlevel 1 goto fail
12 call env.bat
13 del env.bat
14 echo.
15
16 if exist %GOTOOLDIR%\dist.exe goto distok
17 echo cannot find %GOTOOLDIR%\dist; nothing to clean
18 goto fail
19 :distok
20
21 "%GOBIN%\go" clean -i std
22 %GOTOOLDIR%\dist clean
23
24 goto end
25
26 :fail
27 set GOBUILDFAIL=1
28
29 :end
30 if x%GOBUILDEXIT%==x1 exit %GOBUILDFAIL%
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b