https://github.com/noteed/covered
Syntax and Haskell Program Coverage highlighting
https://github.com/noteed/covered
Last synced: 2 months ago
JSON representation
Syntax and Haskell Program Coverage highlighting
- Host: GitHub
- URL: https://github.com/noteed/covered
- Owner: noteed
- License: other
- Created: 2013-06-30T11:28:27.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-12-15T19:08:39.000Z (over 11 years ago)
- Last Synced: 2025-12-28T11:09:48.653Z (6 months ago)
- Language: Haskell
- Size: 176 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Covered - Syntax and Haskell Program Coverage highlighting
bin/covered.hs combines the hpc-markup tool (utils/hpc/HpcMarkup.hs in the GHC
source tree) and hscolour (the HTML part).
It can be used on the main.hs example program to produce a Main.hs.html file
with both syntax highlighting and coverage highlighting.
Note that hpc-markup is BSD-licensed but hscolour is GPL.
## Docker images
To build Covered, I am using a Docker image. A Dockerfile is provided in this
repository. The image depends on the [Reesd stack
image](https://github.com/noteed/reesd-stack) and can be built with
> docker build -t images.reesd.com/reesd/stack-hscolour images/stack-hscolour
(Rename the image and the `FROM` instruction as appropriate.)