gitrev

Compile git revision info into Haskell projects https://github.com/acfoltzer/gitrev

Version on this page:1.1.0
LTS Haskell 15.14:1.3.1
Stackage Nightly 2020-05-26:1.3.1
Latest on Hackage:1.3.1

See all snapshots gitrev appears in

BSD-3-Clause licensed by Adam C. Foltzer
Maintained by [email protected]

Module documentation for 1.1.0

This version can be pinned in stack with:[email protected]:7f85b5cda61852cf37544a20b328778abc2b170b48823d7f437ba7c5df488fc8,1035

Some handy Template Haskell splices for including the current git hash and branch in the code of your project. Useful for including in panic messages, --version output, or diagnostic info for more informative bug reports.