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