aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.cmd
blob: 642b6a9c11df8947644fda68f2bb895955b53402 (plain)
1
2
3
4
5
6
7
8
9
10
@echo off

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

set GOPATH=%cd%
set GOBIN=%cd%
go get -v -u %1
set GOBIN=
go clean -modcache
rd /S /Q "src" "pkg" 2> NULL