mirror of
https://github.com/nimbold/Firelink.git
synced 2026-09-09 17:25:42 +00:00
725f5e40ec
- remove shared staging locks and the repository engine tree - stage verified target payloads in private atomic workspaces - fence Tauri bundles and process-tree cleanup across platforms - align CI, AppImage packaging, smoke checks, and release docs
23 lines
681 B
JavaScript
23 lines
681 B
JavaScript
#!/usr/bin/env node
|
|
import path from 'node:path';
|
|
import { spawnSync } from 'node:child_process';
|
|
import { fileURLToPath } from 'node:url';
|
|
|
|
const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..');
|
|
|
|
function run(script, args) {
|
|
const result = spawnSync(process.execPath, [path.join(repoRoot, 'scripts', script), ...args], {
|
|
cwd: repoRoot,
|
|
stdio: 'inherit',
|
|
windowsHide: true,
|
|
});
|
|
if (result.error) {
|
|
console.error(`[FAIL] Could not run ${script}: ${result.error.message}`);
|
|
process.exit(1);
|
|
}
|
|
if (result.status !== 0) process.exit(result.status ?? 1);
|
|
}
|
|
|
|
run('stage-engines.js', []);
|
|
run('verify-binaries.js', ['--staged']);
|