-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathservant-mock.cabal
93 lines (85 loc) · 2.25 KB
/
servant-mock.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
cabal-version: >=1.10
name: servant-mock
version: 0.8.7
synopsis: Derive a mock server for free from your servant API types
category: Servant, Web, Testing
description:
Derive a mock server for free from your servant API types
.
See the @Servant.Mock@ module for the documentation and an example.
homepage: http://haskell-servant.readthedocs.org/
bug-reports: http://github.com/haskell-servant/servant-mock/issues
license: BSD3
license-file: LICENSE
author: Servant Contributors
maintainer: [email protected]
copyright: 2015-2018 Servant Contributors
build-type: Simple
tested-with:
GHC ==8.0.2
|| ==8.2.2
|| ==8.4.4
|| ==8.6.5
|| ==8.8.1
extra-source-files: README.md CHANGELOG.md include/*.h
source-repository head
type: git
location: http://github.com/haskell-servant/servant-mock.git
flag example
description: Build the example too
default: True
manual: True
library
exposed-modules:
Servant.Mock
build-depends:
base >=4.9 && <4.14,
base-compat >=0.10.5 && <0.12,
bytestring >=0.10.8.1 && <0.11,
http-types >=0.12.2 && <0.13,
servant >=0.17 && <0.19,
servant-server >=0.17 && <0.19,
transformers >=0.5.2.0 && <0.6,
QuickCheck >=2.12.6.1 && <2.14,
wai >=3.2.1.2 && <3.3
hs-source-dirs: src
default-language: Haskell2010
include-dirs: include
ghc-options: -Wall
executable mock-app
main-is: main.hs
hs-source-dirs: example
default-language: Haskell2010
build-depends:
aeson,
base,
servant-mock,
servant-server >= 0.10,
QuickCheck,
warp
if flag(example)
buildable: True
else
buildable: False
ghc-options: -Wall
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Servant.MockSpec
build-tool-depends:
hspec-discover:hspec-discover
build-depends:
bytestring-conversion,
base,
hspec,
hspec-wai >=0.9.0 && <0.11,
QuickCheck,
servant,
servant-server,
servant-mock,
aeson,
wai