forked from biocad/servant-openapi3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.cabal
70 lines (66 loc) · 1.81 KB
/
example.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
name: example
version: 1.0
synopsis: servant-openapi3 demonstration
description: An example of how servant-openapi3 can be used.
license: BSD3
license-file: LICENSE
author: David Johnson, Nickolay Kudasov
maintainer: [email protected]
copyright: (c) 2015-2020, Servant contributors
category: Web
build-type: Simple
cabal-version: >=1.10
data-files:
swagger.json
tested-with:
GHC ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.0.2
|| ==9.2.5
|| ==9.4.4
library
ghc-options: -Wall
hs-source-dirs: src/
exposed-modules:
Todo
build-depends: base
, aeson
, aeson-pretty
, bytestring
, lens
, servant
, servant-server
, servant-openapi3
, openapi3
, text
, time
default-language: Haskell2010
executable swagger-server
ghc-options: -Wall
hs-source-dirs: server/
main-is: Main.hs
build-depends: base
, example
, servant-server
, warp
default-language: Haskell2010
test-suite swagger-server-spec
ghc-options: -Wall
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
TodoSpec
Paths_example
build-tool-depends: hspec-discover:hspec-discover >=2.6.0 && <2.10
build-depends: base == 4.*
, base-compat >= 0.6.0
, aeson >=0.11.2.0
, bytestring
, example
, hspec
, servant-openapi3
, QuickCheck
, quickcheck-instances
default-language: Haskell2010