13 lines
426 B
TypeScript
13 lines
426 B
TypeScript
|
/// <reference path="./typings/main.d.ts" />
|
||
|
import plugins = require("./npmts.plugins");
|
||
|
import paths = require("./npmts.paths");
|
||
|
|
||
|
export let run = function(configArg){
|
||
|
plugins.beautylog.log("now cleaning up from previous builds");
|
||
|
let done = plugins.Q.defer();
|
||
|
plugins.smartfile.fsaction.remove(paths.distDir)
|
||
|
.then(function(){
|
||
|
done.resolve(configArg);
|
||
|
});
|
||
|
return done.promise;
|
||
|
};
|