We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The derive.cabal spec contains executable and library. When cabal install, (most) library files are recompiled. This wastes time.
cabal install
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.
The text was updated successfully, but these errors were encountered:
issue ndmitchell#15 (move sources to src/ , make executable depend on…
a4ce850
… library)
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.
Sorry, something went wrong.
I saw your changes and liked them, so merged them all over - so this is now fixed. Thanks!
#15, update the changelog
f432520
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: