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

9
libs/config.js Normal file
View File

@@ -0,0 +1,9 @@
import path from 'path'
import { read } from './yaml.js'
export default function (dirname) {
return {
basedir: dirname,
...read(path.join(dirname, 'config.yaml'))
}
}