fix(core): update
This commit is contained in:
parent
d5908d4bc6
commit
a2fd6998ee
@ -32,5 +32,12 @@ export const run = async () => {
|
||||
}
|
||||
});
|
||||
|
||||
tsdocCli.addCommand('test').subscribe(argvArg => {
|
||||
tsdocCli.trigger('typedoc');
|
||||
process.on('exit', async () => {
|
||||
await plugins.smartfile.fs.remove(paths.publicDir);
|
||||
});
|
||||
});
|
||||
|
||||
tsdocCli.startParse();
|
||||
};
|
||||
|
@ -3,3 +3,4 @@ import * as plugins from './tsdoc.plugins';
|
||||
export const packageDir = plugins.path.join(__dirname, '../');
|
||||
export const cwd = process.cwd();
|
||||
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
|
||||
export const publicDir = plugins.path.join(packageDir, './public');
|
||||
|
Loading…
Reference in New Issue
Block a user