mweibel / lcov-result-merger

Merges multiple lcov results into one
MIT License
102 stars 22 forks source link

File Patterns #43

Closed quiin closed 4 years ago

quiin commented 4 years ago

What kind of patterns are supported? I'm trying to merge lcov.info files on 2 different directories using the following pattern on stdout: /app/static_build/coverage_reports/frontend/**/lcov.info

mweibel commented 4 years ago

please elaborate on your issues. Specify input, output, what happened. E.g. in this case my immediate questions where:

and what's the result of that trying? does it work or not? what's the output?

anyhow, to the other questions: lcov-result-merger uses vinyl-fs which uses node-glob for globbing.

If it doesn't work it might be that your shell already does an expansion and therefore lcov-result-merger doesn't receive the glob. You could try quoting or escaping it.

To see what's happening, a few console.logs always help. You could add a console.log(process.argv) e.g. in bin/lcov-result-merger and see what happens.