{-| Module: IHP.Version Description: Find out the current IHP version Copyright: (c) digitally induced GmbH, 2020 -} module IHP.Version where import IHP.Prelude import qualified Paths_ihp import Data.Version (showVersion) -- | Returns the git commit hash of https://github.com/digitallyinduced/ihp at which this IHP version was built ihpVersion :: Text ihpVersion :: Text ihpVersion = String -> Text forall a b. ConvertibleStrings a b => a -> b cs (String -> Text) -> String -> Text forall a b. (a -> b) -> a -> b $! Version -> String showVersion Version Paths_ihp.version