mirror of
https://github.com/golang/go
synced 2024-11-25 23:48:01 -07:00
4f5ffe5684
files moved from misc/windows, bash packager file replaced with Windows batch file R=golang-dev, alex.brainman, rsc CC=golang-dev https://golang.org/cl/5677074
15 lines
312 B
Batchfile
15 lines
312 B
Batchfile
@echo off
|
|
setlocal
|
|
for /f "delims=" %%i in ('cd') do set cwd=%%i
|
|
|
|
if exist bin\godoc.exe goto ok
|
|
echo Unable to find the godoc executable
|
|
echo This batch file must run from the root Go folder
|
|
pause
|
|
exit
|
|
|
|
:ok
|
|
start bin\godoc -http=localhost:6060 -goroot="%cwd%"
|
|
start http://localhost:6060
|
|
endlocal
|