Fix Windows CI with Webpack (#2782)

refactor-es9-migration
Steven Kang 2019-03-18 17:18:55 +13:00 committed by Anthony Lapenna
parent 76ff555c1e
commit f5edc1f54e
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ $go_path = "$($(Get-ITEM -Path env:AGENT_HOMEDIRECTORY).Value)\go"
Set-Item env:GOPATH "$go_path"
New-Item -Name dist -Path "." -ItemType Directory | Out-Null
New-Item -Name portainer -Path "$go_path\src\github.com\" -ItemType Directory | Out-Null
New-Item -Name dist -Path "." -ItemType Directory -Force | Out-Null
New-Item -Name portainer -Path "$go_path\src\github.com\" -ItemType Directory -Force | Out-Null
Copy-Item -Path "api" -Destination "$go_path\src\github.com\portainer" -Recurse -Force -ErrorAction:SilentlyContinue
Rename-Item -Path "$go_path\src\github.com\portainer\api" -NewName "portainer" -ErrorAction:SilentlyContinue