1
This commit is contained in:
parent
488fba51d0
commit
e625a27315
@ -7,15 +7,17 @@ class CfgChecker {
|
|||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.projHash = {};
|
this.projHash = {};
|
||||||
this.addProj(constant.PROJ_WEB3BCSPIDER);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async init() {
|
async init() {
|
||||||
|
await this.addProj(constant.PROJ_WEB3BCSPIDER);
|
||||||
}
|
}
|
||||||
|
|
||||||
addProj(projName) {
|
async addProj(projName, confDir, resDir) {
|
||||||
console.log(projName);
|
const proj = new(require('./projects/' + projName));
|
||||||
|
proj.confDir = confDir;
|
||||||
|
proj.resDir = resDir;
|
||||||
|
console.log('addProj ', projName, confDir, resDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user