Safe Haskell | None |
---|---|
Language | Haskell2010 |
- herringbone :: ConfigBuilder -> IO Herringbone
- makeSettings :: ConfigBuilder -> HerringboneSettings
- initHerringbone :: HerringboneSettings -> IO Herringbone
- setSourceDir :: FilePath -> ConfigBuilder
- setDestDir :: FilePath -> ConfigBuilder
- setPreprocessors :: [PP] -> ConfigBuilder
- addPreprocessor :: PP -> ConfigBuilder
- setVerbose :: ConfigBuilder
- defaultSettings :: HerringboneSettings
Documentation
herringbone :: ConfigBuilder -> IO Herringbone Source
For convenience.
makeSettings :: ConfigBuilder -> HerringboneSettings Source
Creates a HerringboneSettings
instance from a ConfigBuilder
.
This just applies the config builder to the default settings:
makeSettings builder = builder defaultSettings
initHerringbone :: HerringboneSettings -> IO Herringbone Source
Sets up internal state, and returns a Herringbone, ready to be used.
setSourceDir :: FilePath -> ConfigBuilder Source
Adds a directory to the list of source directories.
setDestDir :: FilePath -> ConfigBuilder Source
Sets the destination directory. Note that this will overwrite the destination directory if one is already set.
setPreprocessors :: [PP] -> ConfigBuilder Source
Set the preprocessor collection to the given list of preprocessors
addPreprocessor :: PP -> ConfigBuilder Source
Add a preprocessor to the HerringboneSettings
setVerbose :: ConfigBuilder Source
Displays detailed log information during requests. Useful for debugging.