This commit is contained in:
lixianjing 2022-06-25 16:53:06 +08:00
parent a6da1ff7b8
commit 951a0dcc98
2 changed files with 4 additions and 8 deletions

View File

@ -1,7 +1,6 @@
const fs = require('fs');
const path = require('path');
const glob = require('glob')
const IDLGen = require('./idl_gen.js')
const IDLGen = require('./idl_gen.js');
let defDirlist = undefined;
let outputIDL = 'idl.json';
@ -22,5 +21,4 @@ if(sourcesPath === '-h' || sourcesPath === '--help') {
process.exit(0);
}
IDLGen.gen(sourcesPath, outputIDL, defDirlist)
IDLGen.gen(sourcesPath, outputIDL, defDirlist);

View File

@ -1,7 +1,6 @@
const fs = require('fs');
const path = require('path');
const glob = require('glob')
const IDLGen = require('./idl_gen.js')
const IDLGen = require('./idl_gen.js');
let outputIDL = 'tkc.json';
if(process.argv.length == 3) {
@ -20,5 +19,4 @@ let sourcesPath = [
path.normalize(path.join(__dirname, '../../src/debugger')),
path.normalize(path.join(__dirname, '../../src/conf_io'))].join(';');
IDLGen.gen(sourcesPath, outputIDL)
IDLGen.gen(sourcesPath, outputIDL);