diff options
Diffstat (limited to 'src/mongo/gotools/set_gopath.bat')
-rwxr-xr-x | src/mongo/gotools/set_gopath.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/gotools/set_gopath.bat b/src/mongo/gotools/set_gopath.bat new file mode 100755 index 00000000000..61d40b44753 --- /dev/null +++ b/src/mongo/gotools/set_gopath.bat @@ -0,0 +1,6 @@ +@echo off + +if exist "%cd%\.gopath\" rd /s /q "%cd%\.gopath\" +md "%cd%\.gopath\src\github.com\mongodb\" +mklink /J "%cd%\.gopath\src\github.com\mongodb\mongo-tools" "%cd%" >nul 2>&1 +set GOPATH=%cd%\.gopath;%cd%\vendor |