quick-command-build
Advanced tools
Comparing version
@@ -14,15 +14,20 @@ 'use strict'; | ||
var settings = { | ||
printLog:function(){ | ||
console.log(Array.prototype.join.call(arguments,'')); | ||
}, | ||
process:function(name){ | ||
this.printLog('# 当前已完成:',name); | ||
}, | ||
done:function(shell){ | ||
this.printLog('# 任务全部完成!'); | ||
this.printLog('-------------任务结束-----------'); | ||
shell.exit(-1); | ||
} | ||
} | ||
_.start = function(){ | ||
var build = core({ | ||
printLog:function(){ | ||
console.log(Array.prototype.join.call(arguments,'')); | ||
}, | ||
process:function(name){ | ||
console.log('# 当前已完成:',name); | ||
}, | ||
done:function(shell){ | ||
console.log('# 已经全部构建完成!'); | ||
shell.exit(-1); | ||
} | ||
}); | ||
var build = core(settings); | ||
if(!isArray(argv.queue)){ | ||
@@ -29,0 +34,0 @@ if(argv.queue=='all'){ |
{ | ||
"name" : "quick-command-build", | ||
"description" : "quick build command.", | ||
"version" : "0.2.0", | ||
"version" : "0.2.1", | ||
"author" : "QuickJs Team <q@quickjs.org>", | ||
@@ -17,5 +17,5 @@ "homepage" : "http://q.quickjs.org/", | ||
"dependencies" : { | ||
"quick-build-core":"^1.1.0" | ||
"quick-build-core":"^1.1.1" | ||
}, | ||
"devDependencies": {} | ||
} |
6355
0.91%96
2.13%Updated