fis-command-release
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name" : "fis-command-release", | ||
"description" : "fis release command.", | ||
"version" : "0.4.2", | ||
"version" : "0.4.3", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
@@ -90,3 +90,3 @@ /* | ||
.option('--md5 <level>', 'md5 release option', parseInt, 0) | ||
.option('--domain', 'add domain', Boolean, false) | ||
.option('--domains', 'add domain name', Boolean, false) | ||
.option('--lint', 'with lint', Boolean, false) | ||
@@ -130,12 +130,13 @@ .option('--optimize', 'with optimize', Boolean, false) | ||
//compile setup | ||
var tmp = fis.compile.setup({ | ||
debug : options.debug, | ||
optimize : options.optimize, | ||
lint : options.lint, | ||
hash : options.md5 > 0, | ||
domain : options.domain | ||
}); | ||
if(options.domains){ | ||
options.domain = true; | ||
delete options.domains; | ||
} | ||
//md5 > 0, force release hash file | ||
options.hash = options.md5 > 0; | ||
if(options.clean){ | ||
//compile setup | ||
var tmp = fis.compile.setup(options); | ||
fis.cache.clean(tmp); | ||
@@ -142,0 +143,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
11118