add Build/BuildVersion, for use by autobuilders

This commit is contained in:
Joey Hess 2014-06-18 14:29:39 -04:00
parent af90a03178
commit a615817ab1
4 changed files with 11 additions and 5 deletions

View file

@ -17,7 +17,7 @@ import qualified Git.Version
tests :: [TestCase]
tests =
[ TestCase "version" getVersion
[ TestCase "version" (Config "packageversion" . StringConfig <$> getVersion)
, TestCase "UPGRADE_LOCATION" getUpgradeLocation
, TestCase "git" $ requireCmd "git" "git --version >/dev/null"
, TestCase "git version" getGitVersion