lcov
An LCOV parser and serializer.
Installation
-
Add the dependency to your
shard.yml
:dependencies: lcov: github: nishtahir/lcov
-
Run
shards install
Usage
require "lcov"
To parse a file, read the content and invoke the Lcov parser
file = File.read("path/to/lcov_file.info")
report = Lcov.parse(file)
to serialize a report invoke to_s
.
File.write("path/to/lcov_file.info", report)
Contributing
- Fork it (https://github.com/nishtahir/lcov/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Nish Tahir - creator and maintainer