aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.cmd
blob: b4200addfdb63facd2bed5ace6fce6341b00aea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off

if "x%1" equ "x" goto :EOF
if "x%2" equ "x" goto :EOF

setlocal

set GOPATH=%CD%\go

go get %2

echo @echo off ^

%%~dp0\go\bin\%1.exe %%* ^

> %1.cmd

endlocal