mirror of
https://github.com/microsoft/GSL.git
synced 2025-01-19 02:04:59 -05:00
Fix blocks in ps script (#741)
This commit is contained in:
parent
c4845bb90a
commit
ade48d5fdd
@ -43,6 +43,7 @@ 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
|
||||||
) {
|
) {
|
||||||
@ -50,9 +51,6 @@ install:
|
|||||||
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:
|
||||||
- ps: |
|
- ps: |
|
||||||
|
Loading…
Reference in New Issue
Block a user