fis-command-release
Advanced tools
Comparing version 0.6.8 to 0.6.9
@@ -63,6 +63,10 @@ /* | ||
opt.to = fis.util(opt.to); | ||
} else if(/^output\b/.test(d)){ //local | ||
} else if(d[0] === '.'){ | ||
opt.to = fis.util(process.cwd(), d); | ||
} else if(/^output\b/.test(d)){ | ||
opt.to = fis.util(root, d); | ||
} else if(d === 'preview'){ | ||
opt.to = fis.project.getTempPath('www'); | ||
} else if(fis.util.isAbsolute(d)) { | ||
opt.to = fis.util(d); | ||
} else { | ||
@@ -69,0 +73,0 @@ fis.log.error('invalid deploy destination options [' + d + ']'); |
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.6.8", | ||
"version" : "0.6.9", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -123,3 +123,3 @@ /* | ||
.option('-p, --pack', 'with package', Boolean, true) | ||
.option('--unique', 'use unique compile caching', Boolean, false) | ||
.option('-u, --unique', 'use unique compile caching', Boolean, false) | ||
.option('--debug', 'debug mode', Boolean, false) | ||
@@ -126,0 +126,0 @@ .action(function(options){ |
13613
280