mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
15 lines
474 B
JavaScript
15 lines
474 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
const glob = require('glob')
|
|
const IDLGen = require('./idl_gen.js')
|
|
|
|
let outputIDL = 'tkc.json';
|
|
let sourcesPath = [
|
|
path.normalize(path.join(__dirname, '../../src/tkc')),
|
|
path.normalize(path.join(__dirname, '../../src/ubjson')),
|
|
path.normalize(path.join(__dirname, '../../src/streams')),
|
|
path.normalize(path.join(__dirname, '../../src/conf_io'))].join(';');
|
|
|
|
IDLGen.gen(sourcesPath, outputIDL)
|
|
|