Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
034c72a5
Commit
034c72a5
authored
Feb 15, 2012
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: use setlocal in run.bat
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/5672061
parent
32cb495b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
all.bat
src/all.bat
+1
-1
run.bat
src/run.bat
+7
-0
No files found.
src/all.bat
View file @
034c72a5
...
...
@@ -13,7 +13,7 @@ goto end
call make.bat --no-banner --no-local
if %GOBUILDFAIL%==1 goto end
call run.bat --no-rebuild
call run.bat --no-rebuild
--no-local
if %GOBUILDFAIL%==1 goto end
go tool dist banner
...
...
src/run.bat
View file @
034c72a5
...
...
@@ -3,6 +3,13 @@
:: license that can be found in the LICENSE file.
@echo off
:: Keep environment variables within this script
:: unless invoked with --no-local.
if x%1==x--no-local goto nolocal
if x%2==x--no-local goto nolocal
setlocal
:nolocal
set GOBUILDFAIL=0
rem TODO avoid rebuild if possible
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment