Own retained Eve Ink playback sidecar
This commit is contained in:
parent
d070159ba5
commit
826200184c
9 changed files with 321 additions and 1 deletions
|
|
@ -8,6 +8,10 @@ const required = [
|
|||
"dist/eve.js",
|
||||
"examples/static-site/index.html",
|
||||
"docs/manifest.md",
|
||||
"plugins/sai-vn.plugin.json",
|
||||
"plugins/sai-vn.plugin-advertisement.json",
|
||||
"plugins/sai-vn.plugin-abi-fixture.json",
|
||||
"src/eve-sidecar.cjs",
|
||||
];
|
||||
|
||||
for (const file of required) {
|
||||
|
|
|
|||
22
scripts/run-eve-plugin-witness.ps1
Normal file
22
scripts/run-eve-plugin-witness.ps1
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
param(
|
||||
[string] $EveRoot = "E:\Projects\Eve",
|
||||
[string] $OutputPath = "artifacts\eve-plugin\runtime-witness.json",
|
||||
[string] $NodePath = "node"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
$repoRoot = Split-Path -Parent $PSScriptRoot
|
||||
$output = if ([IO.Path]::IsPathRooted($OutputPath)) { $OutputPath } else { Join-Path $repoRoot $OutputPath }
|
||||
$launcher = Join-Path $EveRoot "tools\plugins\run-sidecar-witness.mjs"
|
||||
|
||||
& $NodePath $launcher `
|
||||
--advertisement (Join-Path $repoRoot "plugins\sai-vn.plugin-advertisement.json") `
|
||||
--fixture (Join-Path $repoRoot "plugins\sai-vn.plugin-abi-fixture.json") `
|
||||
--output $output `
|
||||
--witness-id "sai.vn.owner-sidecar" `
|
||||
--cwd $repoRoot `
|
||||
--command $NodePath `
|
||||
-- "src/eve-sidecar.cjs"
|
||||
if ($LASTEXITCODE -ne 0) { throw "Sai Eve plugin witness failed with exit code $LASTEXITCODE" }
|
||||
|
||||
Write-Host "Sai Eve plugin witness: $output"
|
||||
Loading…
Reference in a new issue