2016-01-27 22:17:59 +01:00
|
|
|
name: tutorial
|
2017-01-25 13:59:13 +01:00
|
|
|
version: 0.10
|
2016-01-27 22:17:59 +01:00
|
|
|
synopsis: The servant tutorial
|
2018-01-05 09:33:10 +01:00
|
|
|
description:
|
|
|
|
The servant tutorial can be found at
|
|
|
|
<http://haskell-servant.readthedocs.org/>
|
2016-04-21 12:22:54 +02:00
|
|
|
homepage: http://haskell-servant.readthedocs.org/
|
2018-01-05 09:33:10 +01:00
|
|
|
category: Servant, Documentation
|
2016-01-27 22:17:59 +01:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Servant Contributors
|
|
|
|
maintainer: haskell-servant-maintainers@googlegroups.com
|
|
|
|
build-type: Simple
|
|
|
|
cabal-version: >=1.10
|
2017-10-22 13:13:18 +02:00
|
|
|
tested-with:
|
|
|
|
GHC==7.8.4
|
|
|
|
GHC==7.10.3
|
|
|
|
GHC==8.0.2
|
2017-12-10 12:29:37 +01:00
|
|
|
GHC==8.2.2
|
2017-10-22 13:13:18 +02:00
|
|
|
extra-source-files:
|
|
|
|
static/index.html
|
|
|
|
static/ui.js
|
2016-01-27 22:17:59 +01:00
|
|
|
|
|
|
|
library
|
2018-01-25 12:49:39 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -pgmL markdown-unlit
|
2016-01-27 22:46:28 +01:00
|
|
|
exposed-modules: ApiType
|
2016-03-26 13:56:45 +01:00
|
|
|
, Authentication
|
2016-01-28 13:22:20 +01:00
|
|
|
, Client
|
2016-01-28 15:46:56 +01:00
|
|
|
, Docs
|
2016-01-28 18:44:37 +01:00
|
|
|
, Javascript
|
2016-01-28 14:12:24 +01:00
|
|
|
, Server
|
2018-01-25 12:49:39 +01:00
|
|
|
|
|
|
|
-- Packages `servant` depends on.
|
|
|
|
-- We don't need to specify bounds here as this package is never released.
|
|
|
|
build-depends:
|
|
|
|
base >= 4.7 && <4.11
|
|
|
|
, aeson
|
|
|
|
, aeson-compat
|
|
|
|
, attoparsec
|
|
|
|
, base-compat
|
|
|
|
, bytestring
|
|
|
|
, containers
|
|
|
|
, directory
|
|
|
|
, http-api-data
|
|
|
|
, http-client
|
|
|
|
, http-media
|
|
|
|
, http-types
|
|
|
|
, mtl
|
|
|
|
, string-conversions
|
|
|
|
, text
|
|
|
|
, transformers
|
|
|
|
, wai
|
|
|
|
, warp
|
|
|
|
|
|
|
|
-- Servant dependencies
|
|
|
|
build-depends:
|
|
|
|
servant
|
|
|
|
, servant-server
|
|
|
|
, servant-client
|
|
|
|
, servant-docs
|
|
|
|
|
|
|
|
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
|
|
|
|
-- Here can be exceptions if we really need features from the newer versions.
|
|
|
|
build-depends:
|
|
|
|
blaze-html >= 0.9.0.1 && < 0.10
|
|
|
|
, blaze-markup >= 0.8.0.0 && < 0.9
|
|
|
|
, cookie >= 0.4.3 && < 0.5
|
|
|
|
, js-jquery >= 3.2.1 && < 3.3
|
|
|
|
, lucid >= 2.9.9 && < 2.10
|
|
|
|
, mtl-compat >= 0.2.1 && < 0.3
|
|
|
|
, random >= 1.1 && < 1.2
|
|
|
|
, servant-js >= 0.9 && < 0.10
|
|
|
|
, time >= 1.4.2 && < 1.9
|
|
|
|
|
|
|
|
-- For legacy tools, we need to specify build-depends too
|
|
|
|
build-depends: markdown-unlit >= 0.4.1 && <0.5
|
|
|
|
build-tool-depends: markdown-unlit:markdown-unlit >= 0.4.1 && <0.5
|
2016-03-12 09:03:57 +01:00
|
|
|
|
|
|
|
test-suite spec
|
|
|
|
type: exitcode-stdio-1.0
|
2016-04-18 12:07:23 +02:00
|
|
|
ghc-options: -Wall
|
2016-03-12 09:03:57 +01:00
|
|
|
default-language: Haskell2010
|
|
|
|
hs-source-dirs: test
|
|
|
|
main-is: Spec.hs
|
2016-07-09 14:26:56 +02:00
|
|
|
other-modules: JavascriptSpec
|
2017-10-22 13:13:18 +02:00
|
|
|
build-tool-depends:
|
|
|
|
hspec-discover:hspec-discover
|
2018-01-25 12:49:39 +01:00
|
|
|
build-depends: base
|
2016-03-18 15:09:38 +01:00
|
|
|
, tutorial
|
|
|
|
, hspec
|
|
|
|
, hspec-wai
|
|
|
|
, string-conversions
|