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

Safe HaskellNone
LanguageHaskell2010

Development.Shake.Plus.Loaders

Synopsis

Documentation

batchLoad Source #

Arguments

:: MonadAction m 
=> Path b Dir

The directory to search in

-> [FilePattern]

A filepattern to match against.

-> (Path b File -> m a)

A newCache operation that loads the file and turns it into some a.

-> m (HashMap (Path Rel File) a) 

Load a directory of FilePatterns via some loading function. This should be a newCache operation that takes full filepaths.

batchLoadWithin Source #

Arguments

:: MonadAction m 
=> Within b [FilePattern]

The directory and filepattern to search.

-> (Within b (Path Rel File) -> m a)

A newCache operation that loads the file and turns it into some a.

-> m (Within b (HashMap (Path Rel File) a)) 

Like batchLoad, but returns an Within of a Dir containing the HashMap

batchLoadWithin' Source #

Arguments

:: MonadAction m 
=> Within b [FilePattern]

The directory and filepattern to search.

-> (Within b (Path Rel File) -> m a)

A newCache operation that loads the file and turns it into some a.

-> m (HashMap (Within b (Path Rel File)) a) 

Like batchLoadWithin', but returns a HashMap containing Within values instead of an Within of a Hashmap.