mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-06-25 07:27:42 +00:00
scripts: modify 3 files
Verified changes: - modify scripts/dev-start.ps1 - modify scripts/dev-stop.ps1 - modify scripts/dev-test.ps1 Diffstat: - 3 files changed, 122 insertions(+), 122 deletions(-)
This commit is contained in:
parent
8db1a182c5
commit
05768af0c9
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