name:                clr-bindings
version:             0.1.0.0
synopsis:            Glue between clr-host and clr-typed
description:         Please see README.md
homepage:            https://gitlab.com/tim-m89/clr-haskell/tree/master/libs/clr-bindings
license:             BSD3
license-file:        LICENSE
author:              Tim Matthews
maintainer:          tim.matthews7@gmail.com
copyright:           2017 Tim Matthews
category:            Language, FFI, CLR, .NET
build-type:          Simple
cabal-version:       >=1.10

source-repository head
    type:            git
    location:        https://gitlab.com/tim-m89/clr-haskell/tree/master/libs/clr-bindings

library
  hs-source-dirs:      src
  exposed-modules:     Clr.Bindings
                     , Clr.Bindings.Box
                     , Clr.Bindings.BStr
                     , Clr.Bindings.DynImports
                     , Clr.Bindings.ImportGen
                     , Clr.Bindings.IEnumerable
                     , Clr.Bindings.Object
  build-depends:       base >= 4.7 && < 5, clr-typed, clr-host, clr-marshal, text, template-haskell, pipes
  default-language:    Haskell2010

test-suite clr-bindings-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , clr-bindings
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010