feat: add multi-engine regex flavour support

This commit is contained in:
2026-07-27 11:43:51 +02:00
parent 7079cde15f
commit 7f3a91ad37
340 changed files with 643286 additions and 483 deletions

View File

@@ -0,0 +1,14 @@
import path from "node:path";
import { fileURLToPath } from "node:url";
import { verifyGoPack } from "./go-engine-pack.mjs";
const root = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
const arguments_ = process.argv.slice(2);
if (arguments_.length > 1) {
throw new Error(
"Usage: node scripts/verify-go-engine.mjs [public/engines/go]",
);
}
const pack = path.resolve(root, arguments_[0] ?? "public/engines/go");
const metadata = await verifyGoPack(pack, root);
console.log(`Verified ${metadata.semanticIdentity}.`);