packages feed

packunused 0.1.1.0 → 0.1.1.1

raw patch · 3 files changed

+10/−6 lines, 3 files

Files

changelog.md view
@@ -1,3 +1,7 @@+# 0.1.1.1++ - Minor typo in output messages fixed+ # 0.1.1.0   - Update to support `Cabal-1.18`/`Cabal-1.20`, GHC 7.8.1+, and `haskell-src-exts-1.15`
packunused.cabal view
@@ -1,5 +1,5 @@ name:                packunused-version:             0.1.1.0+version:             0.1.1.1 synopsis:            Tool for detecting redundant Cabal package dependencies homepage:            https://github.com/hvr/packunused bug-reports:         https://github.com/hvr/packunused/issues@@ -51,7 +51,7 @@   > executable(packunused)   > ~~~~~~~~~~~~~~~~~~~~~~   >-  > The following package depencencies seem redundant:+  > The following package dependencies seem redundant:   >   >  - criterion-0.6.2.0-9dd4d764629a47662168743b2dfda9bc   >
packunused.hs view
@@ -41,7 +41,7 @@     &= details helpDesc  helpDesc :: [String]-helpDesc = [ "Tool to help find redundant build-dependancies in CABAL projects"+helpDesc = [ "Tool to help find redundant build-dependencies in CABAL projects"            , ""            , "In order to use this package you should set up the package as follows, before executing 'packunused':"            , ""@@ -164,10 +164,10 @@          if null unused           then do-            putStrLn "no redundant packages depencencies found"+            putStrLn "no redundant packages dependencies found"             putStrLn ""           else do-            putStrLn "The following package depencencies seem redundant:"+            putStrLn "The following package dependencies seem redundant:"             putStrLn ""             forM_ unused $ \pkg' -> putStrLn $ " - " ++ display pkg'             putStrLn ""@@ -263,4 +263,4 @@   whenM :: Monad m => m Bool -> m () -> m ()-whenM test action = test >>= \t -> if t then action else return ()+whenM test = (test >>=) . flip when