deactivate typings clean for now until nodehash is implemented

This commit is contained in:
Philipp Kunz 2016-05-23 05:34:25 +02:00
parent b83aaf4abf
commit 944e9b227c
2 changed files with 15 additions and 2 deletions

8
dist/npmts.clean.js vendored
View File

@ -8,8 +8,14 @@ var removeDist = function () {
return plugins.smartfile.fsaction.remove(paths.distDir); return plugins.smartfile.fsaction.remove(paths.distDir);
}; };
var removeTypings = function () { var removeTypings = function () {
var done = plugins.Q.defer();
npmts_promisechain_1.npmtsOra.text("cleaning " + "typings".yellow + " folder"); npmts_promisechain_1.npmtsOra.text("cleaning " + "typings".yellow + " folder");
return plugins.smartfile.fsaction.remove(paths.typingsDir); if (false) {
}
else {
done.resolve();
}
return done.promise;
}; };
exports.run = function (configArg) { exports.run = function (configArg) {
npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds..."); npmts_promisechain_1.npmtsOra.text("cleaning up from previous builds...");

View File

@ -9,8 +9,15 @@ let removeDist = function(){
}; };
let removeTypings = function(){ let removeTypings = function(){
let done = plugins.Q.defer();
npmtsOra.text("cleaning " + "typings".yellow + " folder"); npmtsOra.text("cleaning " + "typings".yellow + " folder");
return plugins.smartfile.fsaction.remove(paths.typingsDir); if(false){
//plugins.smartfile.fsaction.remove(paths.typingsDir)
// .then(done.resolve);
} else {
done.resolve();
}
return done.promise;
}; };
export let run = function(configArg){ export let run = function(configArg){