Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Template Haskell function for getting the git revision from the local repo. This is a separate module due to the GHC stage restriction.
Synopsis
- gitRevFromGit :: Q Exp
Documentation
gitRevFromGit :: Q Exp Source #
Git revision found by running
git rev-parse
. If
git
could not be
executed, then this will be an empty string.