add Build/BuildVersion, for use by autobuilders
This commit is contained in:
parent
af90a03178
commit
a615817ab1
4 changed files with 11 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue