fis-command-release
Advanced tools
Comparing version 0.5.2 to 0.5.3
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.5.2", | ||
"version" : "0.5.3", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -43,5 +43,4 @@ /* | ||
function release(opt){ | ||
//write a white space. | ||
var flag, cost; | ||
process.stdout.write(' Ω'.green.bold); | ||
var flag, cost, start = Date.now(); | ||
process.stdout.write(' Ω'.green.bold + ': '); | ||
opt.beforeEach = function(){ | ||
@@ -82,3 +81,3 @@ flag = '.'; | ||
if(collection.hasOwnProperty(item)){ | ||
process.stdout.write('\n'); | ||
process.stdout.write(' ' + (Date.now() - start + 'ms').bold.green + '\n'); | ||
fis.util.map(ret.pkg, collection, true); | ||
@@ -128,4 +127,7 @@ deploy(opt.dest, opt.md5, collection); | ||
if(options.clean){ | ||
fis.log.notice('clean compile cache ...'); | ||
process.stdout.write(' δ'.bold.yellow + ': '); | ||
var now = Date.now(); | ||
fis.cache.clean('compile'); | ||
process.stdout.write((Date.now() - now + 'ms').green.bold); | ||
process.stdout.write('\n'); | ||
} | ||
@@ -132,0 +134,0 @@ delete options.clean; |
11823
240