packages feed

herms 1.8.1.3 → 1.8.1.4

raw patch · 3 files changed

+22/−5 lines, 3 filesdep ~ansi-terminal

Dependency ranges changed: ansi-terminal

Files

app/herms.hs view
@@ -20,10 +20,13 @@ import UnitConversions import Paths_herms --- Global constant+-- Global constants recipesFileName :: String recipesFileName = "recipes.herms" +versionStr :: String+versionStr = "1.8.1.4"+ getRecipeBook :: IO [Recipe] getRecipeBook = do   fileName <- getDataFileName recipesFileName@@ -397,8 +400,14 @@                 (info (helper <*> shopP)                       (progDesc "generate a shopping list for given recipes")) +versionOption :: Parser (a -> a)+versionOption = infoOption versionStr +                (long "version"+                <> short 'v' +                <> help "Show version")+ -- @prsr is the main parser of all CLI arguments. commandPI :: ParserInfo Command-commandPI =  info ( helper <*> optP )+commandPI =  info ( helper <*> versionOption <*> optP )           $  fullDesc           <> progDesc "HeRM's: a Haskell-based Recipe Manager. Type \"herms --help\" for options"
changelog view
@@ -1,4 +1,12 @@ -*-change-log-*- +v1.8.1.4 - 11 March 2017+				 * The meta update! Added version flag ("-v" and "--version")++v1.8.1.3 - 11 March 2017+				 * Tags may now contain multiple words. If herms detects commas in the+				 tag entry field, then a recipe's tags will be comma-separated strings+				 rather than space-separated words.+ v1.8.1.2 - 18 October 2017          * Initial release
herms.cabal view
@@ -8,7 +8,7 @@ description:        HeRM's: a Haskell-based Recipe Manager for delicious kitchen recipes tested-with:        GHC == 7.10.3                     GHC == 8.0.2-                    GHC == 8.2.1+                    GHC == 8.2.2  -- The package version.  See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented.@@ -16,7 +16,7 @@ -- PVP summary:      +-+------- New features or improvements with significant API change --                   | | +----- Bugfixes and improvements with minor change to API --                   | | | +--- Bugfixes and improvements with no change to API-version:             1.8.1.3+version:             1.8.1.4  -- A short (one-line) description of the package. synopsis:            A command-line manager for delicious kitchen recipes@@ -77,7 +77,7 @@   other-extensions:    OverloadedStrings, TemplateHaskell, RankNTypes    -- Other library packages from which modules are imported.-  build-depends:       ansi-terminal == 0.7.* +  build-depends:       ansi-terminal >= 0.7.0 && <= 0.8.1                      , base >=4.8 && <5                      , brick >=0.19 && <= 0.34.1                      , directory >= 0.0