mirror of
https://github.com/swarm-game/swarm.git
synced 2024-10-27 10:04:12 +03:00
b8956689d9
It is probably safer to have Template Haskell GitInfo in Main and not depend on it in Swarm modules. Depending on how the build system and TH interact we were either recompiling too often or not often enough. - if the git info was evaluated once and not again after making a commit, then it was not up to date - if the git info was reevaluated on every commit then we would needlessly recompile dependent modules I believe it was only the former, but this helps even in that case (any code change recompiles Main). |
||
---|---|---|
.. | ||
Main.hs |