shaker-0.4.3: simple and interactive command-line build tool

Shaker.Io

Contents

Description

Manage all file operations like listing files with includes and exclude patterns and file filtering

Synopsis

List files functions

listModifiedAndCreatedFiles :: [FileListenInfo] -> [FileInfo] -> IO ([FileInfo], [FileInfo])Source

Get the tuples of (newFiles,modifiedFiles) from given list of directory

listFiles :: FileListenInfo -> IO [FilePath]Source

List files in the given directory Files matching one regexp in the ignore argument are excluded

getCurrentFpCl :: FileListenInfo -> IO [FileInfo]Source

Get the list of FileInfo of the given directory

recurseListFiles :: FileListenInfo -> IO [FilePath]Source

Recursively list all files All non matching files are excluded

Test file property

Default patterns

defaultHaskellPatterns :: [String]Source

Default haskell file pattern : *.hs

defaultExclude :: [String]Source

Default exclude pattern : Setup.hs

Exception handling