Open hyperthunk opened 7 years ago
What Stack version are you using? It's possible that they changed something that broke SHC.
$ stack --version
Version 1.3.2, Git revision 3f675146590da4f3edf768b89355f798229da2a5 (4395 commits) x86_64 hpack-0.15.0
I figured that might be the case. I had issues with 1.0.4 too though. I'm having issues locally on OSX too, though I doubt that's relevant. Thanks for the quick reply btw!
Hello.
First of all, a great thanks to @rubik for SHC!
I use SHC in a template project for Haskell (I do such templates for my students at the University), see here:
https://github.com/pascalpoizat/template-haskell-project.
It used to work perfectly for LTS 7.19 / GHC 8.0.1. However, some days ago I had to upgrade to LTS 8.3 / GHC 8.0.2 on my laptop in order to have the IDEA/intero interaction to work (don't know why it began to fail, maybe some OS X issue once more ...). But now, it seems that coverage data are no longer sent to coveralls.
Still, if you have a project that runs under LTS 7.19 / GHC 8.0.1 you may possible take inspiration from my template. Only 2 changes are then required:
.travis.yml
change GHCVER from 8.0.2 to 8.0.1stack.yml
change resolver from lts-8.3 to lts-7.19.I hope it may help.
Pascal PS: I will continue tests, eg to see if the format of coverage data has changed. PPS: indeed, I have to use the binary SHC 0.0.4.0 version, trying to build it in the build script of my template fails :-(
I used GHCVER=8.0.2 instead of GHCVER=8.0.1 in my travis.yml
file in order to cope with the GHC I used. However, there was no SHC release to get with this version.
Using GHCVER=8.0.1 everything works now.
I have the following travis config:
and a coverage script that does this:
but this doesn't work, and neither does it work without --hpc-dir - I consistently get this error:
Any hints as to what I'm doing wrong?
https://github.com/haskell-distributed/distributed-process-extras