Update vcpkg before installing libxml2 and curl

This commit is contained in:
Filipe PINTO 2023-01-17 10:09:56 +01:00 committed by GitHub
parent 921b23017a
commit f15dc66a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,9 @@ $ErrorActionPreference = 'Stop'
powershell write-host -foregroundcolor Cyan "----- install system prerequisites -----" powershell write-host -foregroundcolor Cyan "----- install system prerequisites -----"
# update vcpkg install
git -C ((Get-command vcpkg).Source | Split-Path) pull
# install libxml and libcurl[openssl] # install libxml and libcurl[openssl]
$vcpkg_dir=(Get-command vcpkg).Source $vcpkg_dir=(Get-command vcpkg).Source
@ -21,4 +24,3 @@ if ($LASTEXITCODE) { Throw }
# update pip # update pip
python -m pip install --upgrade pip --quiet python -m pip install --upgrade pip --quiet
if ($LASTEXITCODE) { Throw } if ($LASTEXITCODE) { Throw }