UNPKG

haxe

Version:

Wrapper of Haxe, an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform's native capabilities.

20 lines (16 loc) 444 B
var fsx = require('fs-extra'); var vars = require(__dirname + '/vars'); var ClearTask = function () { }; ClearTask.prototype.run = function(executeNextStep) { console.log('clean folder'); try{ fsx.removeSync(vars.haxe.dir); fsx.removeSync(vars.haxelib.dir); fsx.removeSync(vars.neko.dir); } catch(error){ console.error(error); } executeNextStep(); }; module.exports.ClearTask = ClearTask;