diff options
Diffstat (limited to 'clean.js')
-rw-r--r-- | clean.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clean.js b/clean.js new file mode 100644 index 0000000..46d1826 --- /dev/null +++ b/clean.js @@ -0,0 +1,7 @@ +var glob = require('glob'); +var fs = require('fs'); +var path = require('path'); + +glob.sync('./themes/ts-built/**/*.js').forEach(function(file) { + fs.unlinkSync(path.resolve(file)); +});
\ No newline at end of file |