refactor(runner): rename preprocessing to runner and update directory structure
This commit is contained in:
12
libs/exec.js
Normal file
12
libs/exec.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import { execSync } from 'child_process'
|
||||
|
||||
export function buildAll(config) {
|
||||
for (const [key, _] of Object.entries(config.operators)) {
|
||||
if (key.startsWith('_')) break;
|
||||
console.log(execSync(`O=${key} node runner.js && O=${key} pnpm run build`).toString());
|
||||
}
|
||||
}
|
||||
|
||||
export function runDev(config) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user