packages feed

hs-di-0.2.2: hs-di.cabal

name:                hs-di
version:             0.2.2
synopsis:            Dependency Injection library for Haskell
description:         Dependency Injection library for Haskell to allow powerful unit testing and mocking (compile-time type-checked)
homepage:            https://github.com/Wizek/hs-di#readme
license:             BSD3
license-file:        LICENSE
author:              Milan Nagy
maintainer:          123.wizek@gmail.com
copyright:           2016 Milan Nagy
category:            Web
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src, .
  other-modules:
    Common
  exposed-modules:
    DependencyInjector
    DI
  build-depends:
    base >= 4.7 && < 5
    , template-haskell
    , compose-ltr
  default-language:    Haskell2010

test-suite hs-di-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test, .
  other-modules:
    Common
    Gradual
    MainSpec
    SimpleDefs
    GradualSpec
    NotSoEasyToTestCode
    DefsToTestModuleSupport
    DefsToTestIdiomaticModuleSupport
  main-is:             Spec.hs
  build-depends:
    base
    , hs-di
    , hspec
    , QuickCheck
    , template-haskell
    , time
    , MissingH
    , compose-ltr
  ghc-options:
    -threaded
    -rtsopts
    -with-rtsopts=-N
    -O0

    -- -fdefer-type-errors
    -- TODO:
    -- 'ghc-options: -fdefer-type-errors' is fine during development but is not
    -- appropriate for a distributed package. Alternatively, if you want to use this,
    -- make it conditional based on a Cabal configuration flag (with 'manual: True'
    -- and 'default: False') and enable that flag during development.
    -- -ddump-splices
    -- -ddump-to-file

    -- -fforce-recomp
  default-language:    Haskell2010
  default-extensions:
    TemplateHaskell

source-repository head
  type:     git
  location: https://github.com/Wizek/hs-di