From 50036caa0a39aaa2fef393a20f67d1f9ea35684c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 18 Nov 2013 13:53:38 -0400 Subject: use debian/changelog for version --- Build/Configure.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Build/Configure.hs') diff --git a/Build/Configure.hs b/Build/Configure.hs index 0c6245d..967738d 100644 --- a/Build/Configure.hs +++ b/Build/Configure.hs @@ -7,11 +7,13 @@ import Control.Applicative import Control.Monad.IfElse import Build.TestConfig +import Build.Version import Git.Version tests :: [TestCase] tests = - [ TestCase "git" $ requireCmd "git" "git --version >/dev/null" + [ TestCase "version" getVersion + , TestCase "git" $ requireCmd "git" "git --version >/dev/null" , TestCase "git version" getGitVersion , TestCase "nice" $ testCmd "nice" "nice true >/dev/null" ] @@ -25,3 +27,5 @@ run ts = do args <- getArgs config <- runTests ts writeSysConfig config + whenM (isReleaseBuild) $ + cabalSetup "github-repair.cabal" -- cgit v1.2.3