refactor(runner): rename preprocessing to runner and update directory structure

This commit is contained in:
Haoyu Xu
2023-01-17 10:08:22 -05:00
parent 09ca22d7c7
commit 4fa886be90
16 changed files with 34 additions and 30 deletions

12
libs/exec.js Normal file
View 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) {
}