fis-command-release
Advanced tools
Comparing version 0.8.9 to 0.8.10
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.8.9", | ||
"version" : "0.8.10", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -140,6 +140,2 @@ /* | ||
.option('-d, --dest <names>', 'release output destination', String, 'preview') | ||
.option('-r, --root <path>', 'set project root') | ||
.option('-w, --watch', 'monitor the changes of project') | ||
.option('-L, --live', 'automatically reload your browser') | ||
.option('-c, --clean', 'clean compile cache', Boolean, false) | ||
.option('-m, --md5 [level]', 'md5 release option', Number) | ||
@@ -151,2 +147,7 @@ .option('-D, --domains', 'add domain name', Boolean, false) | ||
.option('-p, --pack', 'with package', Boolean, true) | ||
.option('-w, --watch', 'monitor the changes of project') | ||
.option('-L, --live', 'automatically reload your browser') | ||
.option('-c, --clean', 'clean compile cache', Boolean, false) | ||
.option('-r, --root <path>', 'set project root') | ||
.option('-C, --conf <filename>', 'set fis-conf filename, fis-conf.js by default', 'fis-conf.js') | ||
.option('-u, --unique', 'use unique compile caching', Boolean, false) | ||
@@ -164,3 +165,3 @@ .option('--verbose', 'enable verbose output', Boolean, false) | ||
} | ||
var root, conf, filename = fis.project.conf; | ||
var root, conf, filename = options.conf; | ||
if(options.root){ | ||
@@ -206,3 +207,3 @@ root = fis.util.realpath(options.root); | ||
} else { | ||
fis.log.warning('missing ' + filename); | ||
fis.log.warning('missing config file [' + filename + ']'); | ||
} | ||
@@ -209,0 +210,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52074
1400