This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
EveConformance/scripts/run-conformance.ps1
2026-07-10 10:25:17 +01:00

22 lines
689 B
PowerShell

param(
[string] $KernelRoot = $(if ($env:EVE_KERNEL_ROOT) { $env:EVE_KERNEL_ROOT } else { "E:\Projects\Eve" }),
[string] $OutputDirectory = "artifacts\parity"
)
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent $PSScriptRoot
$env:EVE_KERNEL_ROOT = (Resolve-Path $KernelRoot).Path
$env:EVE_PARITY_OUTPUT = if ([IO.Path]::IsPathRooted($OutputDirectory)) {
$OutputDirectory
} else {
Join-Path $repoRoot $OutputDirectory
}
$env:EVE_CONFORMANCE_OUTPUT = Join-Path $repoRoot "artifacts\conformance"
Push-Location $repoRoot
try {
node .\tools\parity\run-parity.mjs
node .\tools\conformance\consume-export.mjs .\artifacts\conformance\latest
} finally {
Pop-Location
}