diff --git a/jenkins/build-windows.bat b/jenkins/build-windows.bat new file mode 100644 index 000000000..8ec829733 --- /dev/null +++ b/jenkins/build-windows.bat @@ -0,0 +1,54 @@ +@echo off + +rem Copyright (C) 2016 The Syncthing Authors. +rem +rem This Source Code Form is subject to the terms of the Mozilla Public +rem License, v. 2.0. If a copy of the MPL was not distributed with this file, +rem You can obtain one at http://mozilla.org/MPL/2.0/. + +rem This batch file should be run from the GOPATH. +rem It expects to run on amd64, for windows-amd64 Go to be installed in C:\go +rem and for windows-386 Go to be installed in C:\go-386. + +rem cURL should be installed in C:\Program Files\cURL. + +set ORIGPATH="C:\Program Files\cURL\bin";%PATH% +set PATH=c:\go\bin;%ORIGPATH% +set GOROOT=c:\go + +cd >gopath +set /p GOPATH=