added cli_test_run-samples to test samples from commandline; added --outputSuffix option

This commit is contained in:
whyzdev
2016-12-18 12:30:37 -05:00
parent 96a25935ac
commit e13c939583
10 changed files with 95 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ module.exports = { process: processMermaid }
function processMermaid(files, _options, _next) {
var options = _options || {}
, outputDir = options.outputDir || process.cwd()
, outputSuffix = options.outputSuffix || ""
, next = _next || function() {}
, phantomArgs = [
phantomscript
@@ -23,6 +24,7 @@ function processMermaid(files, _options, _next) {
, options.ganttConfig
, options.verbose
, options.width
, outputSuffix
];
files.forEach(function(file) {