chore: fix dev scripts compose output and frontend test command

This commit is contained in:
Marco Allegretti 2026-02-04 00:32:14 +01:00
parent a0d412b5ff
commit a11543a5f9
3 changed files with 122 additions and 122 deletions

View file

@ -29,13 +29,13 @@ function Invoke-Compose {
$podmanCompose = Get-Command podman-compose -ErrorAction SilentlyContinue
if ($podmanCompose) {
& podman-compose @Args
$null = & podman-compose @Args
return $LASTEXITCODE
}
$podman = Get-Command podman -ErrorAction SilentlyContinue
if ($podman) {
& podman compose @Args
$null = & podman compose @Args
return $LASTEXITCODE
}

View file

@ -21,13 +21,13 @@ function Invoke-Compose {
$podmanCompose = Get-Command podman-compose -ErrorAction SilentlyContinue
if ($podmanCompose) {
& podman-compose @Args
$null = & podman-compose @Args
return $LASTEXITCODE
}
$podman = Get-Command podman -ErrorAction SilentlyContinue
if ($podman) {
& podman compose @Args
$null = & podman compose @Args
return $LASTEXITCODE
}

View file

@ -39,7 +39,7 @@ if ($Frontend -or $All) {
Write-Host "=== Frontend Tests ===" -ForegroundColor Cyan
Push-Location (Join-Path $root 'frontend')
try {
npm run check 2>&1 | Tee-Object -Variable frontendOutput
npm run build 2>&1 | Tee-Object -Variable frontendOutput
$results += @{ Component = 'Frontend'; Success = ($LASTEXITCODE -eq 0) }
} finally {
Pop-Location