Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
11f6f7af
Commit
11f6f7af
authored
Feb 13, 2012
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: fix windows build
TBR=golang-dev CC=golang-dev
https://golang.org/cl/5656051
parent
bf283833
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
src/all.bat
src/all.bat
+4
-1
src/run.bat
src/run.bat
+0
-7
No files found.
src/all.bat
View file @
11f6f7af
...
...
@@ -9,11 +9,14 @@ echo all.bat must be run from go\src
goto
end
:ok
set
GOOLDPATH
=
%PATH%
call
make
.bat
-
-no-banner
if
%GOBUILDFAIL%
==
1
goto
end
call
run
.bat
-
-no-rebuild
if
%GOBUILDFAIL%
==
1
goto
end
..\bin\tool\
dist
banner
go
tool
dist
banner
:end
set
PATH
=
%GOOLDPATH%
if
x
%GOBUILDEXIT%
==
x1
exit
%GOBUILDFAIL%
src/run.bat
View file @
11f6f7af
...
...
@@ -3,14 +3,8 @@
:: license that can be found in the LICENSE file.
@echo
off
set
GOOLDPATH
=
%PATH%
set
GOBUILDFAIL
=
0
..\bin\tool\dist
env
-wp
>
env
.bat
if
errorlevel
1
goto
fail
call
env
.bat
del
env
.bat
rem TODO avoid rebuild if possible
if
x
%
1
==
x
-
-no-rebuild
goto
norebuild
...
...
@@ -44,4 +38,3 @@ goto end
set
GOBUILDFAIL
=
1
:end
set
PATH
=
%GOOLDPATH%
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