diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..b1f3666c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: haskell + +ghc: + - 7.8 + +notifications: + irc: + channels: + - "irc.freenode.org#servant" + template: + - "%{repository}#%{build_number} - %{commit} on %{branch} by %{author}: %{message}" + - "Build details: %{build_url} - Change view: %{compare_url}" + skip_join: true + on_success: change + on_failure: always diff --git a/README.md b/README.md index 7d978b8a..448f82e1 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,10 @@ -# servant +# servant-server -[![Build Status](https://secure.travis-ci.org/haskell-servant/servant.svg)](http://travis-ci.org/haskell-servant/servant) +[![Build Status](https://secure.travis-ci.org/haskell-servant/servant-server.svg)](http://travis-ci.org/haskell-servant/servant-server) ![servant](https://raw.githubusercontent.com/haskell-servant/servant/master/servant.png) -These libraries provides a family of combinators to define webservices and automatically generate the documentation and client-side querying functions for each endpoint. - -In order to minimize the dependencies depending on your needs, we provide these features under different packages. - -- `servant`, which contains everything you need to *declare* a webservice and *implement* an HTTP server with handlers for each endpoint. -- `servant-client`, which lets you derive automatically Haskell functions that let you query each endpoint of a *servant* webservice. -- `servant-docs`, which lets you generate API docs for your webservice. -- `servant-jquery`, which lets you derive Javascript functions (based on jquery) to query your API's endpoints, in the same spirit as `servant-client`. +This library lets you *implement* an HTTP server with handlers for each endpoint of a servant API, handling most of the boilerplate for you. ## Getting started diff --git a/servant-server.cabal b/servant-server.cabal index 03d62aa2..0f5f1a91 100644 --- a/servant-server.cabal +++ b/servant-server.cabal @@ -86,6 +86,7 @@ test-suite spec , QuickCheck , parsec , servant + , servant-server , string-conversions , temporary , text