lcov
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
Repository
lcov
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 4 years ago
- November 5, 2020
License
MIT License
Links
Synced at
Fri, 22 Nov 2024 01:29:24 GMT
Languages