add command line options --nochecks and --nocoverage

This commit is contained in:
Philipp Kunz 2017-06-16 16:12:42 +02:00
parent def19f76e9
commit 95e3f9cb10
2 changed files with 15 additions and 0 deletions

View File

@ -49,6 +49,12 @@ exports.run = function (argvArg) {
if (config.argv.notest) { if (config.argv.notest) {
config.test = false; config.test = false;
} }
if (config.argv.nocoverage) {
config.coverage = false;
}
if (config.argv.nochecks) {
config.checkDependencies = false;
}
if (config.argv.watch) { if (config.argv.watch) {
config.watch = true; config.watch = true;
} }

View File

@ -83,6 +83,15 @@ export let run = function (argvArg) {
if (config.argv.notest) { if (config.argv.notest) {
config.test = false config.test = false
} }
if (config.argv.nocoverage) {
config.coverage = false
}
if (config.argv.nochecks) {
config.checkDependencies = false
}
if (config.argv.watch) { if (config.argv.watch) {
config.watch = true config.watch = true
} }