haskell-gi-0.23.0: Generate Haskell bindings for GObject Introspection capable libraries
Safe HaskellNone
LanguageHaskell2010

Data.GI.CodeGen.CabalHooks

Description

Convenience hooks for writing custom Setup.hs files for bindings.

Synopsis

Documentation

setupHaskellGIBinding Source #

Arguments

:: Text

name

-> Text

version

-> Bool

verbose

-> Maybe FilePath

overrides file

-> Maybe FilePath

output dir

-> IO () 

The entry point for Setup.hs files in bindings.

setupBinding Source #

Arguments

:: Text

name

-> Text

version

-> Bool

verbose

-> Maybe FilePath

overrides file

-> [TaggedOverride]

Explicit overrides

-> Maybe FilePath

output dir

-> IO () 

The entry point for Setup.hs files in bindings.

configureDryRun Source #

Arguments

:: Text

name

-> Text

version

-> 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.

Constructors

TaggedOverride 

Fields