chore: save current workspace progress
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
param(
|
||||
[string]$FixturePath = (Join-Path $PSScriptRoot '..\ParkrobTrajplanner\PathSmoothing\Test\Fixtures\path-smoothing-fixtures.json')
|
||||
)
|
||||
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$hostProject = Join-Path $PSScriptRoot 'PathSmoothingPngVerificationHost\PathSmoothingPngVerificationHost.csproj'
|
||||
if (-not (Test-Path -LiteralPath $hostProject)) {
|
||||
throw "Path smoothing PNG verification host was not found: $hostProject"
|
||||
}
|
||||
|
||||
$resolvedFixturePath = (Resolve-Path -LiteralPath $FixturePath).Path
|
||||
& dotnet run --project $hostProject --no-restore -- $resolvedFixturePath
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
exit $LASTEXITCODE
|
||||
}
|
||||
|
||||
Write-Output 'Path smoothing PNG checks passed.'
|
||||
Reference in New Issue
Block a user