1 | var path = require('path'),
|
2 | fs = require('fs'),
|
3 | colors = require('colors'),
|
4 | del = require('del');
|
5 |
|
6 | var cleanup = function(dir) {
|
7 | console.log('Deleting: ' + dir.yellow);
|
8 | del(dir);
|
9 | console.log('--------------- Finishing removal ---------------'.green)
|
10 | }
|
11 |
|
12 | exports.cleanup = cleanup; |
\ | No newline at end of file |