daml/dev-env/windows/libexec/init.ps1
Moritz Kiefer 590833608c
Fix Windows CI (#5648)
The python install step started failing because there is a new pip
release so we get a warning. I tried to just upgrade python but the
new python manifest depends on functions that need an upgrade of scoop
so I upgraded that as well. Not quite sure which of those upgrades
fixes the issue …

changelog_begin
changelog_end
2020-04-21 13:31:57 +00:00

13 lines
544 B
PowerShell

$scoopUrl = 'https://github.com/lukesampson/scoop/archive/a9fa775d59b14e7dce335313faa0eff855469764.zip'
$scoopTmpDir = "$env:Temp\scoop"
$scoopTmp = "$scoopTmpDir\scoop.zip"
$scoopMaster = "$scoopTmpDir\scoop-a9fa775d59b14e7dce335313faa0eff855469764"
$scoopCore = "$scoopMaster\lib\core.ps1"
$dadewInstallDir = $env:DADEW, "$env:USERPROFILE\dadew" | Select-Object -first 1
$scoopInstallDir = "$dadewInstallDir\scoop"
$scoopShimDir = "$scoopInstallDir\shims"
# ensure Scoop is aware of it's non-default install dir
$env:SCOOP=$scoopInstallDir