give the real version number
This commit is contained in:
parent
dd3fa62f38
commit
3cfc5f4f31
@ -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
|
||||
|
||||
@ -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>"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user