git-annex/Build/BuildVersion.hs
2018-08-04 14:21:30 -04:00

13 lines
343 B
Haskell

{- For use by autobuilders, this outputs the version of git-annex that
- is being built, and also updates the Build/Version file so the build
- will report the right version, including the current git rev. -}
{-# OPTIONS_GHC -fno-warn-tabs #-}
import Build.Version
main :: IO ()
main = do
ver <- getVersion
writeVersion ver
putStr ver