mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 21:13:09 +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
|
$podmanCompose = Get-Command podman-compose -ErrorAction SilentlyContinue
|
||||||
if ($podmanCompose) {
|
if ($podmanCompose) {
|
||||||
& podman-compose @Args
|
$null = & podman-compose @Args
|
||||||
return $LASTEXITCODE
|
return $LASTEXITCODE
|
||||||
}
|
}
|
||||||
|
|
||||||
$podman = Get-Command podman -ErrorAction SilentlyContinue
|
$podman = Get-Command podman -ErrorAction SilentlyContinue
|
||||||
if ($podman) {
|
if ($podman) {
|
||||||
& podman compose @Args
|
$null = & podman compose @Args
|
||||||
return $LASTEXITCODE
|
return $LASTEXITCODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,13 +21,13 @@ function Invoke-Compose {
|
||||||
|
|
||||||
$podmanCompose = Get-Command podman-compose -ErrorAction SilentlyContinue
|
$podmanCompose = Get-Command podman-compose -ErrorAction SilentlyContinue
|
||||||
if ($podmanCompose) {
|
if ($podmanCompose) {
|
||||||
& podman-compose @Args
|
$null = & podman-compose @Args
|
||||||
return $LASTEXITCODE
|
return $LASTEXITCODE
|
||||||
}
|
}
|
||||||
|
|
||||||
$podman = Get-Command podman -ErrorAction SilentlyContinue
|
$podman = Get-Command podman -ErrorAction SilentlyContinue
|
||||||
if ($podman) {
|
if ($podman) {
|
||||||
& podman compose @Args
|
$null = & podman compose @Args
|
||||||
return $LASTEXITCODE
|
return $LASTEXITCODE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ if ($Frontend -or $All) {
|
||||||
Write-Host "=== Frontend Tests ===" -ForegroundColor Cyan
|
Write-Host "=== Frontend Tests ===" -ForegroundColor Cyan
|
||||||
Push-Location (Join-Path $root 'frontend')
|
Push-Location (Join-Path $root 'frontend')
|
||||||
try {
|
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) }
|
$results += @{ Component = 'Frontend'; Success = ($LASTEXITCODE -eq 0) }
|
||||||
} finally {
|
} finally {
|
||||||
Pop-Location
|
Pop-Location
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue