packages feed

shake-ext 0.3.1.0 → 0.3.1.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Development.Shake.Linters: atsfmt :: String -> [FilePath] -> Action ()
+ Development.Shake.Linters: atsfmt :: [FilePath] -> Action ()

Files

shake-ext.cabal view
@@ -1,5 +1,5 @@ name:                shake-ext-version:             0.3.1.0+version:             0.3.1.1 synopsis:            Helper functions for linting with shake  description:         This package provides several linters out of the box, as well as functionality for building ATS source files with [shake](http://shakebuild.com/). homepage:            https://hub.darcs.net/vmchale/shake-ext
src/Development/Shake/Linters.hs view
@@ -18,8 +18,8 @@     (Stdout out) <- cmd (s ++ " " ++ p)     if contents == out then pure () else error "formatter is not fully applied!" -atsfmt :: String -> [FilePath] -> Action ()-atsfmt s = mapM_ (checkIdempotent s)+atsfmt :: [FilePath] -> Action ()+atsfmt = mapM_ (checkIdempotent "atsfmt")  checkFiles :: String -> [FilePath] -> Action () checkFiles str = mapM_ (cmd_ . ((str ++ " ") ++))