Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Convenience hooks for writing custom Setup.hs
files for
bindings.
Synopsis
- setupBinding :: Text -> Text -> Text -> Text -> Bool -> Maybe FilePath -> [TaggedOverride] -> Maybe FilePath -> IO ()
- configureDryRun :: Text -> Text -> Text -> Text -> Maybe FilePath -> [TaggedOverride] -> IO ([Text], Set Text)
- data TaggedOverride = TaggedOverride {
- overrideTag :: Text
- overrideText :: Text
Documentation
:: Text | name |
-> Text | version |
-> Text | pkgName |
-> Text | pkgVersion |
-> Bool | verbose |
-> Maybe FilePath | overrides file |
-> [TaggedOverride] | Explicit overrides |
-> Maybe FilePath | output dir |
-> IO () |
The entry point for Setup.hs
files in bindings.
:: Text | name |
-> Text | version |
-> Text | pkgName |
-> Text | pkgVersion |
-> Maybe FilePath | Overrides file |
-> [TaggedOverride] | Other overrides to load |
-> IO ([Text], Set Text) |
Return the list of modules that setupHaskellGIBinding
would
create, together with the set of dependencies loaded while
generating the code.
data TaggedOverride Source #
Included overrides file.
TaggedOverride | |
|