aboutsummaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-04-20 15:56:28 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-20 15:56:28 -0400
commitffb2f51f1ae5e7e048c866e780091ff36481246a (patch)
tree20f357955d11f01e754825f1abc34e5d1afba991 /Build
parent0507c91928504f55c3dc95d2dfa5fb25d9ee306f (diff)
reuse Build.Version to generate version
Diffstat (limited to 'Build')
-rw-r--r--Build/Version.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/Version.hs b/Build/Version.hs
index da9d1bbcb..82cca034f 100644
--- a/Build/Version.hs
+++ b/Build/Version.hs
@@ -67,3 +67,6 @@ cabalSetup cabalfile = do
| otherwise = s
where
fullfield = field ++ ": "
+
+main :: IO ()
+main = putStr =<< getVersion