inch-ci / inch_ci-web

Web frontend for Inch CI
http://inch-ci.org/
MIT License
139 stars 20 forks source link

Add support for Haskell #131

Open yogsototh opened 8 years ago

yogsototh commented 8 years ago

To generate documentation in Haskell the usage is to use haddock

If you only want to get information about documentation coverage without generating anything you simply need to call haddock without providing an output format like this:

> haddock src/**/*.hs
Haddock coverage:
 100% ( 15 / 15) in 'Data.Duration'
 100% (  3 /  3) in 'Data.Duration.Tutorial'
...

To install haddock the recommended way is to use stack install haddock. And you could install stack with:

curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'

Or you could find more information here: http://docs.haskellstack.org/en/stable/README/#how-to-install

Best!

rrrene commented 8 years ago

Sounds great! Thanks for the instructions. :+1: