mirror of
https://github.com/microsoft/GSL.git
synced 2025-01-19 10:15:00 -05:00
Fix blocks in ps script (#741)
This commit is contained in:
parent
c4845bb90a
commit
ade48d5fdd
10
appveyor.yml
10
appveyor.yml
@ -43,15 +43,13 @@ install:
|
|||||||
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
$env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
|
||||||
#
|
#
|
||||||
# Until vcpkg has been updated.
|
# Until vcpkg has been updated.
|
||||||
|
# Note: vcpkg can also be removed from "cache".
|
||||||
if ("$env:USE_TOOLSET=" -match "LLVM" -and
|
if ("$env:USE_TOOLSET=" -match "LLVM" -and
|
||||||
(Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020
|
(Get-Content C:\Tools\vcpkg\toolsrc\VERSION.txt).Replace('.','').Trim('"') -lt 20181020
|
||||||
) {
|
) {
|
||||||
cd C:\Tools\vcpkg
|
cd C:\Tools\vcpkg
|
||||||
git pull
|
git pull
|
||||||
cd %APPVEYOR_BUILD_FOLDER%
|
cd %APPVEYOR_BUILD_FOLDER%
|
||||||
}
|
|
||||||
else { echo "Vcpkg fix is no longer needed." }
|
|
||||||
# Note: vcpkg can also be removed from "cache".
|
|
||||||
}
|
}
|
||||||
|
|
||||||
before_build:
|
before_build:
|
||||||
|
Loading…
Reference in New Issue
Block a user