From 92367e8a623b75e2aac51980aa6ade1a6fc49874 Mon Sep 17 00:00:00 2001 From: awesomenix Date: Sat, 13 Dec 2014 10:46:43 -0800 Subject: [PATCH] Add Instructions on Downloading Mingw 64bit for Building memdb --- build.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build.bat b/build.bat index 146b73b2f7..144dff76d8 100644 --- a/build.bat +++ b/build.bat @@ -1,5 +1,7 @@ @echo off +REM Download Mingw 64 on Windows from http://win-builds.org/download.html + set GOARCH=%1 IF "%1" == "" (set GOARCH=amd64) set ORG_PATH=github.com\hashicorp @@ -9,6 +11,7 @@ set GOPATH=%cd%\gopath rmdir /s /q %GOPATH%\src\%REPO_PATH% 2>nul mkdir %GOPATH%\src\%ORG_PATH% 2>nul +go get .\... mklink /J "%GOPATH%\src\%REPO_PATH%" "%cd%" 2>nul -%GOROOT%\bin\go build -o bin\%GOARCH%\consul.exe %REPO_PATH% +%GOROOT%\bin\go build -o bin\%GOARCH%\consul.exe %REPO_PATH% \ No newline at end of file