swarm/app
Ondřej Šebek b8956689d9
Move TH GitInfo back to Main (#749)
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).
2022-10-16 22:17:34 +00:00
..
Main.hs Move TH GitInfo back to Main (#749) 2022-10-16 22:17:34 +00:00