mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 13:03:10 +00:00
chore: fix dev scripts compose output and frontend test command
This commit is contained in:
parent
a0d412b5ff
commit
a11543a5f9
3 changed files with 122 additions and 122 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue