shake-plus-0.3.0.0: Re-export of Shake using well-typed paths and ReaderT.

CopyrightCopyright (C) 2020 Daniel Firth
MaintainerDaniel Firth <dan.firth@homotopic.tech>
Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.Directory

Description

License : MIT Stability : experimental

Directory utilities in Development.Shake lifted to MonadAction and well-typed Paths.

Synopsis

Documentation

doesFileExist :: MonadAction m => Path b File -> m Bool Source #

Lifted version of doesFileExist using well-typed Paths.

doesDirectoryExist :: MonadAction m => Path b Dir -> m Bool Source #

Lifted version of doesDirectoryExist using well-typed Paths.

getDirectoryFiles :: MonadAction m => Path b Dir -> [FilePattern] -> m [Path Rel File] Source #

Lifted version of getDirectoryFiles using well-typed Paths.

getDirectoryDirs :: MonadAction m => Path b Dir -> m [Path Rel Dir] Source #

Lifted version of getDirectoryDirs using well-typed Paths.

getDirectoryFilesIO :: MonadIO m => Path b Dir -> [FilePattern] -> m [Path Rel File] Source #

Lifted version of getDirectoryFilesIO using well-typed Paths.