packages feed

git-vogue 0.1.0.0 → 0.1.0.1

raw patch · 4 files changed

+13/−6 lines, 4 filesdep ~hlint

Dependency ranges changed: hlint

Files

git-vogue.cabal view
@@ -1,5 +1,5 @@ name:                git-vogue-version:             0.1.0.0+version:             0.1.0.1 synopsis:            A framework for pre-commit checks. description:         Make your Haskell git repositories fashionable. homepage:            https://github.com/anchor/git-vogue@@ -41,9 +41,9 @@                      , mtl                      , unix                        -- To fix depedencies-                     , hlint           >= 1.9    && < 1.10+                     , hlint           >= 1.9.13 && < 1.10                      , stylish-haskell >= 0.5.11 && < 0.5.12-                     , ghc-mod         >= 5.2  && < 5.3+                     , ghc-mod         >= 5.2    && < 5.3  executable git-vogue   default-language:    Haskell2010
src/git-vogue-cabal.hs view
@@ -32,7 +32,10 @@     f CmdCheck = do         ok <- check silent         unless ok exitFailure-    f CmdFix     = exitFailure+    f CmdFix     = do+        putStrLn $ "There are outstanding cabal failures, you need to fix this "+                <> "manually and then re-run check"+        exitFailure  -- | Runs the same thing as cabal check. -- See also "Distribution.Client.Check" in cabal-install.
src/git-vogue-ghc-mod.hs view
@@ -31,7 +31,8 @@     f CmdName  = putStrLn "ghc-mod check"     f CmdCheck = ghcModCheck     f CmdFix   = do-        putStrLn "you need to fix ghc-mod check failures"+        putStrLn $ "There are outstanding ghc-mod failures, you need to fix this "+                <> "manually and then re-run check"         exitFailure  -- | Try to help the user out with some munging of error messages
src/git-vogue-hlint.hs view
@@ -38,7 +38,10 @@   where     f CmdName  = putStrLn "hlint"     f CmdCheck = lint-    f CmdFix   = putStrLn "you need to fix hlint failures" >> exitFailure+    f CmdFix   = do+        putStrLn $ "There are outstanding hlint failures, you need to fix this "+                <> "manually and then re-run check"+        exitFailure  -- | Lint all of the .hs files from stdin lint ::  IO ()