node-coveralls icon indicating copy to clipboard operation
node-coveralls copied to clipboard

Add bin/coverallsFromFiles.js that takes filenames as arguments

Open freshvolk opened this issue 9 years ago • 2 comments

Previously the way to send your lcov.info files to Coveralls was by piping to bin/converalls.js

This adds a script that can be called with lcov files as arguments, then performs the coveralls.js actions on each file.

freshvolk avatar Jan 29 '16 06:01 freshvolk

Hi @freshvolk could you please add some tests for this?

Thank you!

nickmerwin avatar Apr 18 '16 22:04 nickmerwin

I think the main coveralls binary should just support both stdin and file argument:

$ cat lcov.info | coveralls
$ coveralls lcov.info

sindresorhus avatar Jun 01 '16 02:06 sindresorhus