fay-builder-0.2.0.3: Compile Fay code on cabal install, and ad-hoc recompile during development

Safe HaskellNone
LanguageHaskell2010

Fay.Builder

Synopsis

Documentation

readPackageDescription :: FilePath -> IO PackageDescription Source

Default parsing of a Cabal file.

listField :: String -> PackageDescription -> Maybe [String] Source

Try to read a comma separated field

listField_ :: String -> PackageDescription -> [String] Source

Read the value of a comma separated field, gives an empty list if the field is not present.

field :: String -> PackageDescription -> Maybe String Source

Try to read a field's value

field_ :: String -> PackageDescription -> String Source

Force reading of a field, fails if it doesn't exist

fayConfig :: Maybe FilePath -> [String] -> FilePath -> [FilePath] -> [String] -> Bool -> Config Source

Default config, TODO make this optional

defaultFayHook :: IO () Source

Default build hook for your Setup.hs

postBuildHook :: Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO () Source

Default post build hook for your Setup.hs