forked from haskell-servant/servant-elm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
servant-elm.cabal
134 lines (124 loc) · 4.32 KB
/
servant-elm.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
129
130
131
132
133
134
name: servant-elm
version: 0.5.0.0
synopsis: Automatically derive Elm functions to query servant webservices.
description: Please see README.md
homepage: http://github.com/mattjbray/servant-elm#readme
license: BSD3
license-file: LICENSE
author: Matt Bray
maintainer: [email protected]
copyright: 2015-2016 Matt Bray
category: Web
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
test/elm-sources/elm-package.json
test/elm-sources/*.elm
cabal-version: >=1.10
flag examples
Description: Build the example programs.
Default: False
flag integration
Description: Build the integration tests (requires an Elm installation).
Default: False
library
hs-source-dirs: src
exposed-modules: Servant.Elm
, Servant.Elm.Internal.Foreign
, Servant.Elm.Internal.Generate
, Servant.Elm.Internal.Orphans
build-depends: base >= 4.7 && < 5
, elm-export >= 0.5
, lens
, servant >= 0.8
, servant-foreign >= 0.8
, text
, wl-pprint-text
ghc-options: -Wall
default-language: Haskell2010
test-suite servant-elm-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: GenerateSpec.hs
other-modules: Common
build-depends:
Diff
, HUnit
, aeson >= 0.9
, base
, elm-export >= 0.5
, hspec
, servant
, servant-elm
, text
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
default-language: Haskell2010
test-suite servant-elm-test-integration
if !flag(integration)
Buildable: False
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: CompileSpec.hs
other-modules: Common
build-depends: aeson >= 0.9
, base
, directory
, elm-export >= 0.5
, hspec
, interpolate
, mockery
, process
, servant
, servant-elm
, text
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/mattjbray/servant-elm
executable books-example
if !flag(examples)
Buildable: False
main-is: generate.hs
build-depends: base >= 4.7 && < 5
, elm-export >= 0.5
, servant >= 0.8
, servant-elm
hs-source-dirs: examples/books
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable e2e-tests-example
if !flag(examples)
Buildable: False
main-is: generate.hs
build-depends: base >= 4.7 && < 5
, elm-export >= 0.5
, servant >= 0.8
, servant-elm
hs-source-dirs: examples/e2e-tests
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable giphy-example
if !flag(examples)
Buildable: False
main-is: generate.hs
build-depends: base >= 4.7 && < 5
, elm-export >= 0.5
, servant >= 0.8
, servant-elm
, text
hs-source-dirs: examples/giphy
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable readme-example
if !flag(examples)
Buildable: False
main-is: generate.hs
build-depends: base >= 4.7 && < 5
, elm-export >= 0.5
, servant >= 0.8
, servant-elm
hs-source-dirs: examples/readme-example
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010