-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Helper functions for linting with shake -- -- This package provides several linters out of the box, for use with -- shake. @package shake-ext @version 2.2.0.0 module Development.Shake.Cabal -- | Get library dependencies from a .cabal file. This will only -- work for .hs files; module signatures are not supported. getCabalDeps :: FilePath -> IO [FilePath] -- | Same as above, but we set the Verbosity to be used during -- parsing. getCabalDepsV :: Verbosity -> FilePath -> IO [FilePath] module Development.Shake.Clean -- | Clean generic products (.o, .so, .a). cleanProducts :: Action () -- | Clean directories and file extensions typically associated w/ Haskell -- builds cleanHaskell :: Action () module Development.Shake.FileDetect -- | Get files ending in .sats or .dats. getAts :: Action [FilePath] getSats :: Action [FilePath] getHats :: Action [FilePath] getCats :: Action [FilePath] getYml :: Action [FilePath] getToml :: Action [FilePath] getHs :: [FilePath] -> Action [FilePath] getHappy :: Action [FilePath] getAlex :: Action [FilePath] getShell :: Action [FilePath] getDhall :: Action [FilePath] module Development.Shake.Linters -- | Check all .toml files using tomlcheck. tomlcheck :: Action () -- | Lint all files ending in yaml or yml using -- yamllint. yamllint :: Action () -- | Lint all .hs, .hsig, and .hs-boot files -- using hlint. hlint :: [FilePath] -> Action () -- | Lint .sh files using shellcheck. shellcheck :: [FilePath] -> Action () ghc :: [FilePath] -> Action () dhall :: Action () clangFormat :: [FilePath] -> Action () atsfmt :: [FilePath] -> Action () stylishHaskell :: [FilePath] -> Action () module Development.Shake.Man manpages :: Rules () -- | Functions in this module check for the presence of various build -- tools. module Development.Shake.Check -- | Check for the presence of some executable. checkExecutable :: (MonadIO m) => String -> m Bool pandoc :: MBool autoconf :: MBool patsFilter :: (MonadIO m) => m Bool ghc :: MBool compleat :: MBool cabal :: MBool type MBool = forall m. MonadIO m => m Bool module Development.Shake.Version ghcVersion :: AVersion cabalVersion :: AVersion commonVersion :: String -> Action String pandocVersion :: AVersion