give the real version number

This commit is contained in:
Greg Weber 2011-12-25 14:04:45 -03:00
parent dd3fa62f38
commit 3cfc5f4f31
2 changed files with 3 additions and 2 deletions

View File

@ -84,7 +84,7 @@ yesodVersion :: String
yesodVersion = showVersion Paths_yesod_core.version
#else
yesodVersion :: String
yesodVersion = "0.9.3.2"
yesodVersion = "0.9.4"
#endif
#if GHC7

View File

@ -4,6 +4,7 @@ import Scaffolding.Scaffolder
import System.Environment (getArgs)
import System.Exit (exitWith)
import System.Process (rawSystem)
import Yesod.Core(yesodVersion)
#ifndef WINDOWS
import Build (touch)
@ -35,7 +36,7 @@ main = do
["touch"] -> touch
#endif
["devel"] -> devel isDev
["version"] -> putStrLn "0.9.3"
["version"] -> putStrLn yesodVersion
"configure":rest -> rawSystem cmd ("configure":rest) >>= exitWith
_ -> do
putStrLn "Usage: yesod <command>"