herringbone-0.1.1: A library for compiling and serving static web assets.

Safe HaskellNone
LanguageHaskell2010

Web.Herringbone.Internal.Configuration

Synopsis

Documentation

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

setVerbose :: ConfigBuilder Source

Displays detailed log information during requests. Useful for debugging.