mapnik/scripts/parse-appveyor-yml.ps1

8 lines
206 B
PowerShell
Raw Normal View History

$ErrorActionPreference = 'Stop'
$boost_version='0'
Get-Content .\appveyor.yml |
foreach {
if ($_ -match "BOOST_VERSION: "){ $boost_version = $_.split()[-1] }
}
Write-Host $boost_version