aozhiwei e625a27315 1
2024-07-21 10:34:34 +08:00

26 lines
526 B
JavaScript

const parseArgs = require('minimist');
const fs = require('fs');
const assert = require('assert');
const constant = require('./constant');
class CfgChecker {
constructor() {
this.projHash = {};
}
async init() {
await this.addProj(constant.PROJ_WEB3BCSPIDER);
}
async addProj(projName, confDir, resDir) {
const proj = new(require('./projects/' + projName));
proj.confDir = confDir;
proj.resDir = resDir;
console.log('addProj ', projName, confDir, resDir);
}
}
(new CfgChecker).init();