Updates to RELEASE.txt including notice about switching default parallel scheduler...
[scons.git] / .appveyor / coverage_setup.ps1
blob0906cb9629907405446c6b93335f3da1571f816e
1 if ($env:COVERAGE -eq 1) {
2 $env:COVERAGE_PROCESS_START = "$($env:APPVEYOR_BUILD_FOLDER)\.coveragerc";
3 $env:COVERAGE_FILE = "$($env:APPVEYOR_BUILD_FOLDER)\.coverage";
4 New-Item -ItemType Directory -Force -Path "$($env:PYSITEDIR)";
6 (Get-Content -path .coverage_templates\.coveragerc.template -Raw) -replace '\$PWD',"$((Get-Location) -replace '\\', '/')" | Set-Content -Path "$($env:COVERAGE_PROCESS_START)";
7 (Get-Content -path .coverage_templates\sitecustomize.py.template -Raw) -replace '\$PWD',"$((Get-Location) -replace '\\', '/')" | Set-Content -Path "$($env:PYSITEDIR)\sitecustomize.py";
9 Write-Host "$($env:PYSITEDIR)\sitecustomize.py";
10 Get-Content -Path "$($env:PYSITEDIR)\sitecustomize.py";
11 Write-Host "$($env:COVERAGE_PROCESS_START)";
12 Get-Content -Path "$($env:COVERAGE_PROCESS_START)";