haskell-gi-0.26.3: Generate Haskell bindings for GObject Introspection capable libraries
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.GI.CodeGen.CabalHooks

Description

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

Synopsis

Documentation

setupBinding Source #

Arguments

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

configureDryRun Source #

Arguments

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

Constructors

TaggedOverride 

Fields