prevent typedoc from causing build fail

This commit is contained in:
Philipp Kunz 2016-07-15 12:22:19 +02:00
parent df74769533
commit c67d43e16d
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ var paths = require("./npmts.paths");
var npmts_promisechain_1 = require("./npmts.promisechain"); var npmts_promisechain_1 = require("./npmts.promisechain");
var genTypeDoc = function (configArg) { var genTypeDoc = function (configArg) {
var done = plugins.Q.defer(); var done = plugins.Q.defer();
npmts_promisechain_1.npmtsOra.text("now generating " + "EsDoc documentation".yellow); npmts_promisechain_1.npmtsOra.text("now generating " + "TypeDoc documentation".yellow);
plugins.beautylog.log("TypeDoc Output:"); plugins.beautylog.log("TypeDoc Output:");
plugins.gulp.src(plugins.path.join(paths.tsDir, "**/*.ts")) plugins.gulp.src(plugins.path.join(paths.tsDir, "**/*.ts"))
.pipe(plugins.g.typedoc({ .pipe(plugins.g.typedoc({
@ -19,7 +19,7 @@ var genTypeDoc = function (configArg) {
// TypeDoc options (see typedoc docs) // TypeDoc options (see typedoc docs)
name: "my-project", name: "my-project",
//theme: "default", //theme: "default",
ignoreCompilerErrors: false, ignoreCompilerErrors: true,
version: true, version: true,
})) }))
.pipe(plugins.g.gFunction(done.resolve, "atEnd")); .pipe(plugins.g.gFunction(done.resolve, "atEnd"));

View File

@ -5,7 +5,7 @@ import {npmtsOra} from "./npmts.promisechain";
let genTypeDoc = function(configArg){ let genTypeDoc = function(configArg){
let done = plugins.Q.defer(); let done = plugins.Q.defer();
npmtsOra.text("now generating " + "EsDoc documentation".yellow); npmtsOra.text("now generating " + "TypeDoc documentation".yellow);
plugins.beautylog.log("TypeDoc Output:"); plugins.beautylog.log("TypeDoc Output:");
plugins.gulp.src(plugins.path.join(paths.tsDir,"**/*.ts")) plugins.gulp.src(plugins.path.join(paths.tsDir,"**/*.ts"))
.pipe(plugins.g.typedoc({ .pipe(plugins.g.typedoc({
@ -22,7 +22,7 @@ let genTypeDoc = function(configArg){
name: "my-project", name: "my-project",
//theme: "default", //theme: "default",
ignoreCompilerErrors: false, ignoreCompilerErrors: true,
version: true, version: true,
})) }))
.pipe(plugins.g.gFunction(done.resolve,"atEnd")); .pipe(plugins.g.gFunction(done.resolve,"atEnd"));