shake-ext 3.1.0.0 → 3.1.0.1
raw patch · 3 files changed
+6/−16 lines, 3 files
Files
- CHANGELOG.md +0/−9
- shake-ext.cabal +5/−6
- src/Development/Shake/Linters.hs +1/−1
− CHANGELOG.md
@@ -1,9 +0,0 @@-# shake-ext--## 3.1.0.0-- * Remove Elm-related functionality--## 3.0.2.0-- * Add `getRust` and `getSixten` functions for file detection.
shake-ext.cabal view
@@ -1,19 +1,18 @@ cabal-version: 1.18 name: shake-ext-version: 3.1.0.0+version: 3.1.0.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2018 Vanessa McHale maintainer: vamchale@gmail.com author: Vanessa McHale-bug-reports: https://hub.darcs.net/vmchale/shake-ext/issues+bug-reports: https://hub.darcs.net/vmchale/ats/issues synopsis: Helper functions for linting with shake description: This package provides several linters out of the box, for use with [shake](http://shakebuild.com/). category: Development, Shake build-type: Simple extra-doc-files: README.md- CHANGELOG.md source-repository head type: darcs@@ -40,14 +39,14 @@ base >=4.8 && <5, directory -any, shake >=0.14- + if !impl(ghc >=8.0) build-depends: transformers -any, semigroups -any- + if flag(development) ghc-options: -Werror- + if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
src/Development/Shake/Linters.hs view
@@ -40,7 +40,7 @@ checkIdempotent s p = do contents <- liftIO $ readFile p (Stdout out) <- cmd (s ++ " " ++ p)- when (trim contents /= trim out) (error "formatter is not fully applied!")+ when (trim contents /= trim out) (error $ "formatter " ++ s ++ " is not fully applied!") -- | Check that given files are formatted according to @stylish-haskell@ stylishHaskell :: [FilePath] -> Action ()