Skip to content

Commit d311d8d

Browse files
committed
Update GOPATH var in windows bat scripts
1 parent 98107bc commit d311d8d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ci/scripts/windows-32-test.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ go-bindata -pkg resources -ignore ".go" -o cf/resources/i18n_resources.go cf/i18
77
powershell -command set-executionpolicy remotesigned
88
powershell .\bin\replace-sha.ps1
99

10-
SET GOPATH=%CD%\Godeps\_workspace;c:\Users\Administrator\go
10+
$env:GOPATH = "%CD%\Godeps\_workspace;c:\Users\Administrator\go"
11+
Get-ChildItem Env:GOPATH
12+
1113
c:\Go\bin\go build -v -o cf-windows-386.exe ./main
1214
c:\Go\bin\go test -i ./cf/... ./generic/... ./testhelpers/... ./main/...
1315
c:\Go\bin\go test -cover -v ./cf/... ./generic/... ./testhelpers/... ./main/...

ci/scripts/windows-64-test.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ go-bindata -pkg resources -ignore ".go" -o cf/resources/i18n_resources.go cf/i18
77
powershell -command set-executionpolicy remotesigned
88
powershell .\bin\replace-sha.ps1
99

10-
SET GOPATH=%CD%\Godeps\_workspace;c:\Users\Administrator\go
10+
$env:GOPATH = "%CD%\Godeps\_workspace;c:\Users\Administrator\go"
11+
Get-ChildItem Env:GOPATH
12+
1113
c:\Go\bin\go build -v -o cf-windows-amd64.exe ./main
1214
c:\Go\bin\go test -i ./cf/... ./generic/... ./testhelpers/... ./main/...
1315
c:\Go\bin\go test -cover -v ./cf/... ./generic/... ./testhelpers/... ./main/...

0 commit comments

Comments
 (0)