git.iko.soy/typeable/servant
on master help sign in
Improve .cabal files
2d6bf50Oleg Grenrus
doc/tutorial/tutorial.cabal+12−1
@@ -8,6 +8,14 @@ author: Servant Contributors
8maintainer: haskell-servant-maintainers@googlegroups.com
8maintainer: haskell-servant-maintainers@googlegroups.com
9build-type: Simple
9build-type: Simple
10cabal-version: >=1.10
10cabal-version: >=1.10
11+tested-with:
12+ GHC==7.8.4
13+ GHC==7.10.3
14+ GHC==8.0.2
15+ GHC==8.2.1
16+extra-source-files:
17+ static/index.html
18+ static/ui.js
11
19
12library
20library
13 exposed-modules: ApiType
21 exposed-modules: ApiType
@@ -38,7 +46,8 @@ library
38 , string-conversions
46 , string-conversions
39 , bytestring
47 , bytestring
40 , attoparsec
48 , attoparsec
41− , mtl
49+ , mtl >=2.1 && <2.3
50+ , mtl-compat
42 , random
51 , random
43 , js-jquery
52 , js-jquery
44 , wai
53 , wai
@@ -57,6 +66,8 @@ test-suite spec
57 hs-source-dirs: test
66 hs-source-dirs: test
58 main-is: Spec.hs
67 main-is: Spec.hs
59 other-modules: JavascriptSpec
68 other-modules: JavascriptSpec
69+ build-tool-depends:
70+ hspec-discover:hspec-discover
60 build-depends: base == 4.*
71 build-depends: base == 4.*
61 , tutorial
72 , tutorial
62 , hspec
73 , hspec
servant-client-core/servant-client-core.cabal+2
@@ -70,5 +70,7 @@ test-suite spec
70 , servant-client-core
70 , servant-client-core
71 , hspec == 2.*
71 , hspec == 2.*
72 , QuickCheck >= 2.7 && < 2.11
72 , QuickCheck >= 2.7 && < 2.11
73+ build-tool-depends:
74+ hspec-discover:hspec-discover
73 other-modules:
75 other-modules:
74 Servant.Client.Core.Internal.BaseUrlSpec
76 Servant.Client.Core.Internal.BaseUrlSpec
servant-client/servant-client.cabal+2
@@ -64,6 +64,8 @@ test-suite spec
64 default-language: Haskell2010
64 default-language: Haskell2010
65 hs-source-dirs: test
65 hs-source-dirs: test
66 main-is: Spec.hs
66 main-is: Spec.hs
67+ build-tool-depends:
68+ hspec-discover:hspec-discover
67 other-modules:
69 other-modules:
68 Servant.ClientSpec
70 Servant.ClientSpec
69 build-depends:
71 build-depends:
servant-docs/servant-docs.cabal+2
@@ -75,6 +75,8 @@ test-suite spec
75 type: exitcode-stdio-1.0
75 type: exitcode-stdio-1.0
76 main-is: Spec.hs
76 main-is: Spec.hs
77 other-modules: Servant.DocsSpec
77 other-modules: Servant.DocsSpec
78+ build-tool-depends:
79+ hspec-discover:hspec-discover
78 hs-source-dirs: test
80 hs-source-dirs: test
79 ghc-options: -Wall
81 ghc-options: -Wall
80 build-depends:
82 build-depends:
servant-foreign/servant-foreign.cabal+2
@@ -65,6 +65,8 @@ test-suite spec
65 include-dirs: include
65 include-dirs: include
66 main-is: Spec.hs
66 main-is: Spec.hs
67 other-modules: Servant.ForeignSpec
67 other-modules: Servant.ForeignSpec
68+ build-tool-depends:
69+ hspec-discover:hspec-discover
68 build-depends: base
70 build-depends: base
69 , hspec >= 2.1.8
71 , hspec >= 2.1.8
70 , servant
72 , servant
servant-server/servant-server.cabal+2
@@ -120,6 +120,8 @@ test-suite spec
120 Servant.Server.UsingContextSpec.TestCombinators
120 Servant.Server.UsingContextSpec.TestCombinators
121 Servant.ServerSpec
121 Servant.ServerSpec
122 Servant.Utils.StaticFilesSpec
122 Servant.Utils.StaticFilesSpec
123+ build-tool-depends:
124+ hspec-discover:hspec-discover
123 build-depends:
125 build-depends:
124 base == 4.*
126 base == 4.*
125 , base-compat
127 , base-compat
servant/servant.cabal+2
@@ -118,6 +118,8 @@ test-suite spec
118 Servant.API.ResponseHeadersSpec
118 Servant.API.ResponseHeadersSpec
119 Servant.Utils.LinksSpec
119 Servant.Utils.LinksSpec
120 Servant.Utils.EnterSpec
120 Servant.Utils.EnterSpec
121+ build-tool-depends:
122+ hspec-discover:hspec-discover
121 build-depends:
123 build-depends:
122 base == 4.*
124 base == 4.*
123 , base-compat
125 , base-compat