now has --notest option

This commit is contained in:
2016-06-16 03:02:33 +02:00
parent 12199a668e
commit 1f50f54fe9
9 changed files with 42 additions and 23 deletions

View File

@@ -9,16 +9,16 @@ import * as plugins from "./npmts.plugins"
import * as paths from "./npmts.paths";
import {promisechain} from "./npmts.promisechain";
early.stop()
.done(() => {
.then(() => {
let npmtsProjectInfo = new plugins.projectinfo.ProjectinfoNpm(paths.npmtsPackageRoot);
let npmtsCli = new plugins.smartcli.Smartcli();
npmtsCli.standardTask()
.then(() => {
.then((argvArg) => {
plugins.beautylog.figletSync("NPMTS");
plugins.beautylog.info("npmts version: " + npmtsProjectInfo.version);
try {
promisechain();
promisechain(argvArg);
}
catch(err){
console.log(err);