killy971 / codecov-haskell

codecov.io support for haskell code coverage with hpc
http://hackage.haskell.org/package/codecov-haskell
BSD 3-Clause "New" or "Revised" License
29 stars 16 forks source link

Fix instructions and hpc data directory for Cabal 1.22 / GHC 7.10 #10

Open expipiplus1 opened 9 years ago

expipiplus1 commented 9 years ago

Starting from Cabal 1.22 / GHC 7.10, the hpc data output directory seems to have changed. Instead of dist/hpc/, the data files are now located under dist/hpc/vanilla/. Therefore, using hpc-coveralls up to version 0.8.3 fails when it tries to read the tix/mix files.

See also guillaume-nargeot/hpc-coveralls#38

killy971 commented 9 years ago

Thanks for reporting. I will soon port the changes to support Cabal 1.22 / GHC 7.10

Porges commented 8 years ago

Could you make it look anywhere in the subdirectories for Module.tix? This would also make it work with stack.

For example, my current project has the tix files under: .stack-work/install/x86_64-linux/lts-5.0/7.10.3/hpc/