mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-29 15:35:14 +00:00
16 lines
510 B
JavaScript
16 lines
510 B
JavaScript
#!/usr/bin/env node
|
|
|
|
import { spawnSync } from "node:child_process";
|
|
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const pluginRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
|
const repoRoot = path.resolve(pluginRoot, "../..");
|
|
const scriptPath = path.join(repoRoot, "scripts", "build-diffs-viewer-runtime.mjs");
|
|
|
|
const result = spawnSync(process.execPath, [scriptPath, "curated"], {
|
|
cwd: repoRoot,
|
|
stdio: "inherit",
|
|
});
|
|
process.exit(result.status ?? 1);
|