tsrun/scripts/postinstall.ts

11 lines
300 B
TypeScript
Raw Normal View History

2018-07-01 09:32:08 +00:00
// This file takes care of some postinstall actions like clearing the TypeScript cache.
import * as smartfile from 'smartfile';
import * as path from 'path';
const run = async () => {
const tsCacheDir = path.join(__dirname, '../tscache');
await smartfile.fs.ensureEmptyDir(tsCacheDir);
2018-07-01 09:32:08 +00:00
}
run()