fis-command-release
Advanced tools
Comparing version 0.5.3 to 0.5.4
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.5.3", | ||
"version" : "0.5.4", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -44,5 +44,5 @@ /* | ||
var flag, cost, start = Date.now(); | ||
process.stdout.write(' Ω'.green.bold + ': '); | ||
process.stdout.write(' Ω'.green.bold); | ||
opt.beforeEach = function(){ | ||
flag = '.'; | ||
flag = opt.debug ? '' : '.'; | ||
cost = (new Date).getTime(); | ||
@@ -81,3 +81,6 @@ }; | ||
if(collection.hasOwnProperty(item)){ | ||
process.stdout.write(' ' + (Date.now() - start + 'ms').bold.green + '\n'); | ||
process.stdout.write( | ||
(opt.debug ? '' : ' ') + | ||
(Date.now() - start + 'ms').bold.green + '\n' | ||
); | ||
fis.util.map(ret.pkg, collection, true); | ||
@@ -126,4 +129,6 @@ deploy(opt.dest, opt.md5, collection); | ||
process.title = 'fis ' + process.argv.splice(2).join(' ') + ' [ ' + root + ' ]'; | ||
if(options.clean){ | ||
process.stdout.write(' δ'.bold.yellow + ': '); | ||
process.stdout.write(' δ'.bold.yellow); | ||
var now = Date.now(); | ||
@@ -130,0 +135,0 @@ fis.cache.clean('compile'); |
12026
244