I have a cabal package that defines a few dozen modules, and I'm
hoping to generate documentation and code coverage for all modules
without listing each module explicitly.

currently my .cabal includes:

library
  exposed-modules:
   Language.Idl.Data,
   Language.Idl.Merge,
   Language.Idl.Parser,
   ...lots more...


my Setup.hs includes an explicit system call to hpc:

     exec "hpc" ["markup"
                     , "--include=Language.Idl.Data"
                     , "--include=Language.Idl.Merge"
                     , "--include=Language.Idl.Parser"
                     ...all the same files as above...
                     ]

Questions:
1) Is there a way to create haddock docs for /all/ modules, instead of
just the ones listed by 'exposed-modules'?
2) Is there a way to query cabal for the list of modules?  Or by
chance has hpc recently been integrated with cabal?

Thanks,
Greg
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to