codecov-haskell icon indicating copy to clipboard operation
codecov-haskell copied to clipboard

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

Open expipiplus1 opened this issue 10 years ago • 2 comments

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

expipiplus1 avatar Nov 26 '15 22:11 expipiplus1

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

killy971 avatar Nov 27 '15 07:11 killy971

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/

Porges avatar Jan 27 '16 08:01 Porges