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