From 8fcabac5188f676bffd467842fc3db9f2e5ac0a0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 4 Sep 2016 16:15:29 +0200 Subject: [PATCH] jenkins: Add batch file for Windows --- jenkins/build-windows.bat | 54 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 jenkins/build-windows.bat diff --git a/jenkins/build-windows.bat b/jenkins/build-windows.bat new file mode 100644 index 00000000..8ec82973 --- /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=