Safe Haskell | None |
---|---|
Language | Haskell2010 |
Hledger.Cli.Version
Synopsis
- packageversion :: String
- progname :: String
- versionStringFor :: Either String GitInfo -> String -> String
Documentation
packageversion :: String Source #
This package's version, passed in as VERSION build variable, or a generic description.
versionStringFor :: Either String GitInfo -> String -> String Source #
Given a program name, make a version string consisting of:
- the program name
- the output of "git describe" in the current repo at build time (last tag, commit count since then, HEAD's git hash); or if that fails, buildversion
- the platform (OS) name
- the processor architecture name.