diff --git a/doc/tutorial/tutorial.cabal b/doc/tutorial/tutorial.cabal index d0bbbd9d..87393356 100644 --- a/doc/tutorial/tutorial.cabal +++ b/doc/tutorial/tutorial.cabal @@ -13,6 +13,9 @@ tested-with: GHC==7.10.3 GHC==8.0.2 GHC==8.2.1 +extra-source-files: + static/index.html + static/ui.js library exposed-modules: ApiType @@ -42,7 +45,8 @@ library , string-conversions , bytestring , attoparsec - , mtl + , mtl >=2.1 && <2.3 + , mtl-compat , random , js-jquery , wai @@ -61,6 +65,8 @@ test-suite spec hs-source-dirs: test main-is: Spec.hs other-modules: JavascriptSpec + build-tool-depends: + hspec-discover:hspec-discover build-depends: base == 4.* , tutorial , hspec diff --git a/servant-client/servant-client.cabal b/servant-client/servant-client.cabal index 839513cb..8992059b 100644 --- a/servant-client/servant-client.cabal +++ b/servant-client/servant-client.cabal @@ -81,6 +81,8 @@ test-suite spec default-language: Haskell2010 hs-source-dirs: test main-is: Spec.hs + build-tool-depends: + hspec-discover:hspec-discover other-modules: Servant.ClientSpec , Servant.Common.BaseUrlSpec diff --git a/servant-docs/servant-docs.cabal b/servant-docs/servant-docs.cabal index 17cbd006..5741dea6 100644 --- a/servant-docs/servant-docs.cabal +++ b/servant-docs/servant-docs.cabal @@ -79,6 +79,8 @@ test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Servant.DocsSpec + build-tool-depends: + hspec-discover:hspec-discover hs-source-dirs: test ghc-options: -Wall build-depends: diff --git a/servant-foreign/servant-foreign.cabal b/servant-foreign/servant-foreign.cabal index df60c755..30a47b9d 100644 --- a/servant-foreign/servant-foreign.cabal +++ b/servant-foreign/servant-foreign.cabal @@ -71,6 +71,8 @@ test-suite spec include-dirs: include main-is: Spec.hs other-modules: Servant.ForeignSpec + build-tool-depends: + hspec-discover:hspec-discover build-depends: base , hspec >= 2.1.8 , servant diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index 0459b9d4..56e4daaf 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -125,6 +125,8 @@ test-suite spec Servant.Server.UsingContextSpec.TestCombinators Servant.ServerSpec Servant.Utils.StaticFilesSpec + build-tool-depends: + hspec-discover:hspec-discover build-depends: base == 4.* , base-compat diff --git a/servant/servant.cabal b/servant/servant.cabal index 74de1d4d..bf1bfaa5 100644 --- a/servant/servant.cabal +++ b/servant/servant.cabal @@ -122,6 +122,8 @@ test-suite spec Servant.API.ResponseHeadersSpec Servant.Utils.LinksSpec Servant.Utils.EnterSpec + build-tool-depends: + hspec-discover:hspec-discover build-depends: base == 4.* , base-compat