git.iko.soy/haskell-servant/servant-elm
on master help sign in
haskell-servant/servant-elm/servant-elm.cabal
139 lines 4.6 kB history raw
1name: servant-elm
2version: 0.7.3
3synopsis: Automatically derive Elm functions to query servant webservices.
4description: Please see README.md
5homepage: http://github.com/mattjbray/servant-elm#readme
6license: BSD3
7license-file: LICENSE
8author: Matt Bray
9maintainer: mattjbray@gmail.com
10copyright: 2015-2016 Matt Bray
11category: Web
12build-type: Simple
13extra-source-files:
14 CHANGELOG.md
15 README.md
16 test/elm-sources/elm.json
17 test/elm-sources/*.elm
18cabal-version: >=1.10
20flag examples
21 Description: Build the example programs.
22 Default: False
24flag integration
25 Description: Build the integration tests (requires an Elm installation).
26 Default: False
28library
29 hs-source-dirs: src
30 exposed-modules: Servant.Elm
31 , Servant.Elm.Internal.Foreign
32 , Servant.Elm.Internal.Generate
33 , Servant.Elm.Internal.Options
34 build-depends: base >= 4.7 && < 5
35 , aeson >= 0.9
36 , directory
37 , elm-bridge >= 0.5.2
38 , lens
39 , servant >= 0.8
40 , servant-foreign >= 0.8
41 , text
42 , wl-pprint-text
43 ghc-options: -Wall
44 default-language: Haskell2010
46test-suite servant-elm-test
47 type: exitcode-stdio-1.0
48 hs-source-dirs: test
49 main-is: GenerateSpec.hs
50 other-modules: Common
51 , PolymorphicData
52 build-depends:
53 Diff
54 , HUnit
55 , aeson >= 0.9
56 , base
57 , elm-bridge >= 0.4
58 , hspec
59 , servant
60 , servant-client
61 , servant-elm
62 , text
63 ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
64 default-language: Haskell2010
66test-suite servant-elm-test-integration
67 if !flag(integration)
68 Buildable: False
69 type: exitcode-stdio-1.0
70 hs-source-dirs: test
71 main-is: CompileSpec.hs
72 other-modules: Common
73 build-depends: aeson >= 0.9
74 , base
75 , directory
76 , elm-bridge >= 0.4
77 , hspec
78 , interpolate
79 , mockery
80 , process
81 , servant
82 , servant-elm
83 , text
84 , typed-process
85 ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
86 default-language: Haskell2010
88source-repository head
89 type: git
90 location: https://github.com/mattjbray/servant-elm
92executable books-example
93 if !flag(examples)
94 Buildable: False
95 main-is: generate.hs
96 build-depends: base >= 4.7 && < 5
97 , elm-bridge >= 0.4
98 , servant >= 0.8
99 , servant-elm
100 hs-source-dirs: examples/books
101 ghc-options: -threaded -rtsopts -with-rtsopts=-N
102 default-language: Haskell2010
104executable e2e-tests-example
105 if !flag(examples)
106 Buildable: False
107 main-is: generate.hs
108 build-depends: base >= 4.7 && < 5
109 , elm-bridge >= 0.4
110 , servant >= 0.8
111 , servant-elm
112 hs-source-dirs: examples/e2e-tests
113 ghc-options: -threaded -rtsopts -with-rtsopts=-N
114 default-language: Haskell2010
116executable giphy-example
117 if !flag(examples)
118 Buildable: False
119 main-is: generate.hs
120 build-depends: base >= 4.7 && < 5
121 , elm-bridge >= 0.4
122 , servant >= 0.8
123 , servant-elm
124 , text
125 hs-source-dirs: examples/giphy
126 ghc-options: -threaded -rtsopts -with-rtsopts=-N
127 default-language: Haskell2010
129executable readme-example
130 if !flag(examples)
131 Buildable: False
132 main-is: generate.hs
133 build-depends: base >= 4.7 && < 5
134 , elm-bridge >= 0.4
135 , servant >= 0.8
136 , servant-elm
137 hs-source-dirs: examples/readme-example
138 ghc-options: -threaded -rtsopts -with-rtsopts=-N
139 default-language: Haskell2010