packages feed

shake-ext 0.1.0.0 → 0.1.0.1

raw patch · 4 files changed

+23/−14 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

cabal.project.local view
@@ -1,7 +1,6 @@ constraints: shake-ext +development with-compiler: ghc-8.2.2 tests: True-benchmarks: True documentation: True haddock-hoogle: True haddock-internal: True
shake-ext.cabal view
@@ -1,5 +1,5 @@ name:                shake-ext-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Helper functions for linting with [shake](http://shakebuild.com/)  description:         This package provides several linters out of the box, as well as several helper functions for build ATS projects. homepage:            https://hub.darcs.net/vmchale/shake-ext@@ -11,8 +11,7 @@ category:            Development build-type:          Simple extra-doc-files:     README.md-extra-source-files:  stack.yaml-                   , cabal.project.local+extra-source-files:  cabal.project.local cabal-version:       1.18  Flag development {@@ -25,7 +24,7 @@   hs-source-dirs:      src   exposed-modules:     Development.Shake.FileDetect                      , Development.Shake.Linters-  build-depends:       base >= 4.7 && < 5+  build-depends:       base >= 4.8 && < 5                      , shake   default-language:    Haskell2010   if flag(development)@@ -33,6 +32,18 @@   if impl(ghc >= 8.0)     ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat   ghc-options:         -Wall++-- test-suite continued-fractions-test+  -- type:                exitcode-stdio-1.0+  -- hs-source-dirs:      test+  -- main-is:             Spec.hs+  -- build-depends:       base+                     -- , continued-fraction+                     -- , hspec+  -- if flag(development)+    -- ghc-options: -Werror+  -- ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat+  -- default-language:    Haskell2010  source-repository head   type:     darcs
src/Development/Shake/Linters.hs view
@@ -14,17 +14,25 @@ checkFiles :: String -> [FilePath] -> Action () checkFiles str = mapM_ (cmd_ . ((str ++ " ") ++)) +-- | Lint @.sh@ files using+-- [shellcheck](http://hackage.haskell.org/package/ShellCheck). shellcheck :: [FilePath] -> Action () shellcheck = checkFiles "shellcheck"  ghc :: Action () ghc = checkFiles "ghc -Wall -Werror -Wincomplete-uni-patterns -Wincomplete-record-updates -fno-code" =<< getHs +-- | Check all @.toml@ files using+-- [tomlcheck](http://hackage.haskell.org/package/tomlcheck). tomlcheck :: Action () tomlcheck = checkFiles "tomlcheck --file" =<< getToml +-- | Lint all @.hs@, @.hsig@, and @.hs-boot@ files using+-- [hlint](http://hackage.haskell.org/package/hlint). hlint :: Action () hlint = checkFiles "hlint" =<< getHs +-- | Lint all files ending in @yaml@ or @yml@ using+-- [yamllint](https://pypi.python.org/pypi/yamllint). yamllint :: Action () yamllint = checkFiles "yamllint -s" =<< getYml
− stack.yaml
@@ -1,9 +0,0 @@-----resolver: lts-10.3-packages:-  - '.'-extra-deps: []-flags:-  shake-ext:-    development: false-extra-package-dbs: []