build cookbook projects in CI
commit6dc9d04e608b752c1c8b9bbe44b09673025a8ed4
authorAlp Mestanogullari <alpmestan@gmail.com>
dateFri 8 Dec 2017, 00:33 (9 years ago)
parentb8c6c0b
cabal.project+4
@@ -5,6 +5,10 @@ packages: servant/
55 servant-foreign/
66 servant-server/
77 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/
812
913allow-newer: servant-js:servant-foreign
1014
doc/cookbook/basic-auth/basic-auth.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
1010cabal-version: >=1.10
1111
1212executable cookbook-basic-auth
13+ if impl(ghc < 7.10.1)
14+ buildable: False
1315 main-is: BasicAuth.lhs
1416 build-depends: base == 4.*
1517 , text
@@ -20,7 +22,7 @@ executable cookbook-basic-auth
2022 , servant-server
2123 , warp
2224 , wai
23− , http-types
25+ , http-types < 0.11
2426 , markdown-unlit >= 0.4
2527 , http-client
2628 default-language: Haskell2010
doc/cookbook/db-postgres-pool/db-postgres-pool.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
1010cabal-version: >=1.10
1111
1212executable cookbook-db-postgres-pool
13+ if impl(ghc < 7.10.1)
14+ buildable: False
1315 main-is: PostgresPool.lhs
1416 build-depends: base == 4.*
1517 , bytestring
@@ -20,7 +22,7 @@ executable cookbook-db-postgres-pool
2022 , servant-server
2123 , warp
2224 , wai
23− , http-types
25+ , http-types < 0.11
2426 , markdown-unlit >= 0.4
2527 , http-client
2628 , postgresql-simple
doc/cookbook/db-sqlite-simple/db-sqlite-simple.cabal+3−1
@@ -10,6 +10,8 @@ build-type: Simple
1010cabal-version: >=1.10
1111
1212executable cookbook-db-sqlite-simple
13+ if impl(ghc < 7.10.1)
14+ buildable: False
1315 main-is: DBConnection.lhs
1416 build-depends: base == 4.*
1517 , text
@@ -19,7 +21,7 @@ executable cookbook-db-sqlite-simple
1921 , servant-server
2022 , warp
2123 , wai
22− , http-types
24+ , http-types < 0.11
2325 , markdown-unlit >= 0.4
2426 , http-client
2527 , sqlite-simple
doc/cookbook/index.rst+2−1
@@ -17,6 +17,7 @@ you name it!
1717.. toctree::
1818 :maxdepth: 1
1919
20− basic-auth/BasicAuth.lhs
2120 db-sqlite-simple/DBConnection.lhs
2221 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
1313cabal-version: >=1.10
1414
1515executable cookbook-jwt-and-basic-auth
16+ if impl(ghc < 7.10.1)
17+ buildable: False
1618 main-is: JWTAndBasicAuth.lhs
1719 build-depends: base == 4.*
1820 , text
@@ -25,7 +27,7 @@ executable cookbook-jwt-and-basic-auth
2527 , servant-auth-server
2628 , warp
2729 , wai
28− , http-types
30+ , http-types < 0.11
2931 , markdown-unlit >= 0.4
3032 , http-client
3133 , bytestring