summaryrefslogtreecommitdiff
path: root/Setup.hs
blob: 2856d028cdb5f66da473a04e268762ba68a4f357 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE OverloadedStrings #-}

import Data.GI.CodeGen.CabalHooks (setupBinding, TaggedOverride(..))

import qualified GI.GLib.Config as GLib


main :: IO ()
main = setupBinding name version verbose overridesFile inheritedOverrides outputDir
  where name = "GObject"
        version = "2.0"
        overridesFile = Just "GObject.overrides"
        verbose = False
        outputDir = Nothing
        inheritedOverrides = [TaggedOverride "inherited:GLib" GLib.overrides]