feat(preprocessing): combine build_all and preprocessing
This commit is contained in:
8
lib/exec.js
Normal file
8
lib/exec.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { execSync } from 'child_process'
|
||||
|
||||
export default function (config) {
|
||||
for (const [key, _] of Object.entries(config.operators)) {
|
||||
if (key.startsWith('_')) break;
|
||||
console.log(execSync(`O=${key} node preprocessing.js && O=${key} pnpm run build`).toString());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user