Auto backup before evolver run - 2026年 03月 03日 星期二 23:12:56 CST
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// Usage: node scripts/validate-modules.js ./src/evolve ./src/gep/solidify
|
||||
// Requires each module to verify it loads without errors.
|
||||
// Paths are resolved relative to cwd (repo root), not this script's location.
|
||||
const path = require('path');
|
||||
const modules = process.argv.slice(2);
|
||||
if (!modules.length) { console.error('No modules specified'); process.exit(1); }
|
||||
for (const m of modules) { require(path.resolve(m)); }
|
||||
console.log('ok');
|
||||
Reference in New Issue
Block a user