git.iko.soy/typeable/servant
on master help sign in
build cookbook projects in CI
6dc9d04Alp Mestanogullari
cabal.project+4
@@ -5,6 +5,10 @@ packages: servant/
5 servant-foreign/
5 servant-foreign/
6 servant-server/
6 servant-server/
7 doc/tutorial/
7 doc/tutorial/
8+ doc/cookbook/basic-auth/
9+ doc/cookbook/db-postgres-pool/
10+ doc/cookbook/db-sqlite-simple/
11+ doc/cookbook/jwt-and-basic-auth/
8
12
9allow-newer: servant-js:servant-foreign
13allow-newer: servant-js:servant-foreign
10
14
doc/cookbook/basic-auth/basic-auth.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
10cabal-version: >=1.10
10cabal-version: >=1.10
11
11
12executable cookbook-basic-auth
12executable cookbook-basic-auth
13+ if impl(ghc < 7.10.1)
14+ buildable: False
13 main-is: BasicAuth.lhs
15 main-is: BasicAuth.lhs
14 build-depends: base == 4.*
16 build-depends: base == 4.*
15 , text
17 , text
@@ -20,7 +22,7 @@ executable cookbook-basic-auth
20 , servant-server
22 , servant-server
21 , warp
23 , warp
22 , wai
24 , wai
23− , http-types
25+ , http-types < 0.11
24 , markdown-unlit >= 0.4
26 , markdown-unlit >= 0.4
25 , http-client
27 , http-client
26 default-language: Haskell2010
28 default-language: Haskell2010
doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
10cabal-version: >=1.10
10cabal-version: >=1.10
11
11
12executable cookbook-db-postgres-pool
12executable cookbook-db-postgres-pool
13+ if impl(ghc < 7.10.1)
14+ buildable: False
13 main-is: PostgresPool.lhs
15 main-is: PostgresPool.lhs
14 build-depends: base == 4.*
16 build-depends: base == 4.*
15 , bytestring
17 , bytestring
@@ -20,7 +22,7 @@ executable cookbook-db-postgres-pool
20 , servant-server
22 , servant-server
21 , warp
23 , warp
22 , wai
24 , wai
23− , http-types
25+ , http-types < 0.11
24 , markdown-unlit >= 0.4
26 , markdown-unlit >= 0.4
25 , http-client
27 , http-client
26 , postgresql-simple
28 , postgresql-simple
doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
10cabal-version: >=1.10
10cabal-version: >=1.10
11
11
12executable cookbook-db-sqlite-simple
12executable cookbook-db-sqlite-simple
13+ if impl(ghc < 7.10.1)
14+ buildable: False
13 main-is: DBConnection.lhs
15 main-is: DBConnection.lhs
14 build-depends: base == 4.*
16 build-depends: base == 4.*
15 , text
17 , text
@@ -19,7 +21,7 @@ executable cookbook-db-sqlite-simple
19 , servant-server
21 , servant-server
20 , warp
22 , warp
21 , wai
23 , wai
22− , http-types
24+ , http-types < 0.11
23 , markdown-unlit >= 0.4
25 , markdown-unlit >= 0.4
24 , http-client
26 , http-client
25 , sqlite-simple
27 , sqlite-simple
doc/cookbook/index.rst+2−1
@@ -17,6 +17,7 @@ you name it!
17.. toctree::
17.. toctree::
18 :maxdepth: 1
18 :maxdepth: 1
19
19
20− basic-auth/BasicAuth.lhs
21 db-sqlite-simple/DBConnection.lhs
20 db-sqlite-simple/DBConnection.lhs
22 db-postgres-pool/PostgresPool.lhs
21 db-postgres-pool/PostgresPool.lhs
22+ basic-auth/BasicAuth.lhs
23+ jwt-and-basic-auth/JWTAndBasicAuth.lhs
doc/cookbook/jwt-and-basic-auth/jwt-and-basic-auth.cabal+3−1
@@ -13,6 +13,8 @@ build-type: Simple
13cabal-version: >=1.10
13cabal-version: >=1.10
14
14
15executable cookbook-jwt-and-basic-auth
15executable cookbook-jwt-and-basic-auth
16+ if impl(ghc < 7.10.1)
17+ buildable: False
16 main-is: JWTAndBasicAuth.lhs
18 main-is: JWTAndBasicAuth.lhs
17 build-depends: base == 4.*
19 build-depends: base == 4.*
18 , text
20 , text
@@ -25,7 +27,7 @@ executable cookbook-jwt-and-basic-auth
25 , servant-auth-server
27 , servant-auth-server
26 , warp
28 , warp
27 , wai
29 , wai
28− , http-types
30+ , http-types < 0.11
29 , markdown-unlit >= 0.4
31 , markdown-unlit >= 0.4
30 , http-client
32 , http-client
31 , bytestring
33 , bytestring