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

to decrease build time, sources should be in separate src/ folder #15

Closed
jwaldmann opened this issue Mar 18, 2016 · 2 comments
Closed

Comments

@jwaldmann
Copy link
Contributor

The derive.cabal spec contains executable and library. When cabal install, (most) library files are recompiled. This wastes time.

The executable should depend on the library, then recompilation is avoided.
This only works when the sources are in a separate directory.

(I don't know why, and I think this is seriously underdocumented, but I know it from experience.)

It is a trivial change to make, I can do it.

jwaldmann added a commit to jwaldmann/derive that referenced this issue Mar 18, 2016
@ndmitchell
Copy link
Owner

Go for it. Although given your other large pending change, I suggest you either wait til after that, or do this change first then merge into that one.

@ndmitchell
Copy link
Owner

I saw your changes and liked them, so merged them all over - so this is now fixed. Thanks!

ndmitchell added a commit that referenced this issue Mar 23, 2016
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