Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve uroboro.cabal #6

Open
Toxaris opened this issue Mar 4, 2015 · 2 comments
Open

Improve uroboro.cabal #6

Toxaris opened this issue Mar 4, 2015 · 2 comments

Comments

@Toxaris
Copy link
Collaborator

Toxaris commented Mar 4, 2015

I'm confused about the following aspects of uroboro.cabal:

  1. The test suite doesn't mention the test modules in other-modules. I fear this breaks cabal sdist which is necessary for releasing uroboro to Hackage.
  2. The test suite pulls in the Haskell files in src in addition to depending on the uroboro library. This means that the library is recompiled when the test suite is compiled. The edit-compile-test cycle would be faster if this recompilation would be avoided.
  3. The -fhpc flag produces a tests.exe.tix file. It seems I have to manually delete this file every time I change something and then run cabal test. Or should I be doing something else to test a change?
@Toxaris
Copy link
Collaborator Author

Toxaris commented Mar 18, 2015

@tewe explained that (2) is necessary to get test coverage information. Maybe we can declare a flag in the cabal file to turn test coverage information on or off, setting it to off by default?

@tewe
Copy link
Owner

tewe commented May 25, 2015

GHC 7.10 changed a lot of things, breaking my test environment, so not closing this yet.

How useful are upper boundaries on versions for dependencies? That aren't ghc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants