diff options
| author | Joey Hess <joeyh@joeyh.name> | 2018-04-22 12:15:35 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2018-04-22 12:19:40 -0400 |
| commit | d8d2faece72eabd18c2ff303e5fb63c3a69961f6 (patch) | |
| tree | e4fba26d18e3db8b52a94d80aff21413b642c67d /doc | |
| parent | 57ec3e2451ad7dfa70d4a1b522259e0036e3e6f2 (diff) | |
separate Hs-Source-Dirs for binaries
This is a trick I only just learned about, see
https://stackoverflow.com/questions/6711151/how-to-avoid-recompiling-in-this-cabal-file#6711739
Significantly increased propellor build speed when your config.hs is in
a fork of the propellor repository, by avoiding redundant builds of
propellor library.
Also avoids needing to list all the build deps 3 times.
Also avoids cabal 2.x wanting every module to be listed 3 times.
Note that the bulk of wrapper.hs had to move into the propellor library,
since that code depended on stuff not exposed by the library.
This commit was sponsored by Henrik Riomar on Patreon.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
