diff options
Diffstat (limited to 'installer/go_install.cmd')
-rw-r--r-- | installer/go_install.cmd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd new file mode 100644 index 0000000..b4200ad --- /dev/null +++ b/installer/go_install.cmd @@ -0,0 +1,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
|