Release v0.1.5.4 prepare for release
This commit is contained in:
@ -80,9 +80,11 @@ Write-Host "Erzeuge optionalen Coverage-Report (clang-cl + LLVM), falls Tools vo
|
||||
try {
|
||||
$llvmCov = "C:\\Program Files\\LLVM\\bin\\llvm-cov.exe"
|
||||
$llvmProf = "C:\\Program Files\\LLVM\\bin\\llvm-profdata.exe"
|
||||
if (Test-Path $llvmCov -PathType Leaf -and Test-Path $llvmProf -PathType Leaf) {
|
||||
$llvmCovExists = Test-Path $llvmCov
|
||||
$llvmProfExists = Test-Path $llvmProf
|
||||
if ($llvmCovExists -and $llvmProfExists) {
|
||||
$toolchain = Join-Path $env:USERPROFILE 'vcpkg\scripts\buildsystems\vcpkg.cmake'
|
||||
$haveToolchain = Test-Path $toolchain -PathType Leaf
|
||||
$haveToolchain = Test-Path $toolchain
|
||||
$cmakeArgs = @(
|
||||
'-S','.',
|
||||
'-B','build-clang',
|
||||
@ -108,7 +110,7 @@ try {
|
||||
if (-not (Test-Path 'dist')) { New-Item -ItemType Directory -Path 'dist' | Out-Null }
|
||||
$zipPath = "dist/coverage_html.zip"
|
||||
if (Test-Path $zipPath) { Remove-Item -Force $zipPath }
|
||||
Compress-Archive -Path (Join-Path $htmlDir '*') -DestinationPath $zipPath
|
||||
Compress-Archive -Path "$htmlDir\*" -DestinationPath $zipPath
|
||||
Write-Host "Coverage-HTML nach $zipPath gepackt." -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "Hinweis: Kein Coverage-HTML-Verzeichnis gefunden (Tests evtl. ohne Ausführungspfad)." -ForegroundColor Yellow
|
||||
|
||||
Reference in New Issue
Block a user