
We use template haskell to embed the git revision into the executable.
You could probably do the same for the build time. Be aware that if no
sources have changed, cabal won't recompile the module so you'd end up
with the old git revision/build time.
Regards,
Erik
On Fri, Jul 11, 2014 at 11:28 AM, Vo Minh Thu
Hi Roman,
I am using this solution:
http://www.hyperedsoftware.com/blog/entries/build-info-gen.html
Cheers, Thu
2014-07-11 11:26 GMT+02:00 Roman Cheplyaka
: What are existing solutions for embedding version info (git revision, build date/time, versions of dependencies) in Haskell programs?
Roman
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe