Monadoro 0.2.1.9 → 0.2.1.10
raw patch · 3 files changed
+6/−6 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Version: version :: IO String
+ Version: version :: String
Files
- Monadoro.cabal +2/−2
- src/ArgParse.hs +1/−1
- src/Version.hs +3/−3
Monadoro.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 4687ff8bc26008e3fd0703220c94a7496c612581844a4369c287e9767a003a68+-- hash: a1152e60c1c2645472f2da80420930641d1d8038311300d5d345be24cf3428f1 name: Monadoro-version: 0.2.1.9+version: 0.2.1.10 synopsis: A minimalistic CLI Pomodoro timer. description: A Pomodoro timer with two modes: single-pomodoro (default), and four-pomodoro (`--session`). category: Tools
src/ArgParse.hs view
@@ -13,7 +13,7 @@ import Version (version) usage = putStrLn "Usage: monadoro [-vh] [--session]"-soft_version = version >>= putStrLn :: IO ()+soft_version = putStrLn $ version exit = exitWith ExitSuccess warn = putStrLn "Invalid argument." >> usage >> exitWith (ExitFailure 1)
src/Version.hs view
@@ -22,9 +22,9 @@ let version_word = words version_line !! 1 return version_word -version :: IO String-version = pkg_version "package.yaml"+version :: String+version = "0.2.1.10" main :: IO ()-main = version >>= putStrLn :: IO ()+main = putStrLn $ version