diff options
Diffstat (limited to '')
-rw-r--r-- | Main.hs | 5 | ||||
-rw-r--r-- | TODO | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -21,6 +21,9 @@ import System.Info import System.Environment import System.Posix.Process (executeFile) +import Paths_xmonad (version) +import Data.Version (showVersion) + #ifdef TESTING import qualified Properties #endif @@ -36,7 +39,7 @@ main = do ["--resume", _] -> launch ["--recompile"] -> recompile False >> return () ["--recompile-force"] -> recompile True >> return () - ["--version"] -> putStrLn "xmonad 0.6" + ["--version"] -> putStrLn ("xmonad " ++ showVersion version) #ifdef TESTING ("--run-tests":_) -> Properties.main #endif @@ -10,7 +10,6 @@ * configuration documentation -* Be sure to bump --version * generate haddocks for core and XMC, upload to xmonad.org * generate manpage, generate html manpage * double check README build instructions |