-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhs-di.cabal
128 lines (121 loc) · 3.02 KB
/
hs-di.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name: hs-di
version: 0.4.0
synopsis: Dependency Injection library for Haskell
description: Dependency Injection library for Haskell to allow powerful unit testing and mocking, type-checked at compile-time
homepage: https://github.com/Wizek/hs-di#readme
license: BSD3
license-file: LICENSE
author: Milan Nagy
maintainer: [email protected]
copyright: 2016 Milan Nagy
category: Testing, Control, Development, Dependency Injection, Template Haskell
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
, haskell-src-meta
, containers
, interpolatedstring-perl6
, interpolate
default-language: Haskell2010
-- default-extensions:
-- TemplateHaskell
-- QuasiQuotes
ghc-options:
-fdefer-type-errors
executable hs-di-cases
-- type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tmp, src, ., test, app
build-depends:
base >= 4.7 && < 5
, template-haskell
, compose-ltr
, haskell-src-meta
, containers
, text
-- , neat-interpolation
, hs-di
, interpolatedstring-perl6
, interpolate
default-language: Haskell2010
default-extensions:
TemplateHaskell
QuasiQuotes
NoMonomorphismRestriction
ghc-options:
-ddump-splices
-ddump-to-file
-fdefer-type-errors
test-suite hs-di-test
type: exitcode-stdio-1.0
hs-source-dirs: test, .
other-modules:
Common
Assert
Gradual
MainSpec
SpecCommon
SimpleDefs
GradualSpec
NotSoEasyToTestCode
DefsToTestModuleSupport
DefsToTestIdiomaticModuleSupport
main-is: Spec.hs
build-depends:
base
, hs-di
, hspec
, HUnit
, hspec-core
, hspec-expectations
, QuickCheck
, template-haskell
, time
, MissingH
, compose-ltr
, neat-interpolation
, text
, deepseq
, haskell-src-meta
, ghcid
, foreign-store
, interpolatedstring-perl6
, interpolate
, regex-tdfa
, cases
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
-O0
-- 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.
-fdefer-type-errors
-ddump-splices
-ddump-to-file
-- -fforce-recomp
default-language: Haskell2010
default-extensions:
TemplateHaskell
QuasiQuotes
LambdaCase
ViewPatterns
ScopedTypeVariables
NoMonomorphismRestriction
source-repository head
type: git
location: https://github.com/Wizek/hs-di