cryptol/src/GitRev.hs
2016-01-19 18:19:35 -08:00

27 lines
544 B
Haskell

-- |
-- Module : $Header$
-- Copyright : (c) 2014-2016 Galois, Inc.
-- License : BSD3
-- Maintainer : cryptol@galois.com
-- Stability : provisional
-- Portability : portable
--
-- Include information about the current git status for use in error
-- messages and version info output
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE Trustworthy #-}
module GitRev (hash, branch, dirty) where
import Development.GitRev
hash :: String
hash = $(gitHash)
branch :: String
branch = $(gitBranch)
dirty :: Bool
dirty = $(gitDirty)