build cookbook projects in CI
This commit is contained in:
parent
b8c6c0b7c7
commit
6dc9d04e60
6 changed files with 18 additions and 5 deletions
|
@ -5,6 +5,10 @@ packages: servant/
|
|||
servant-foreign/
|
||||
servant-server/
|
||||
doc/tutorial/
|
||||
doc/cookbook/basic-auth/
|
||||
doc/cookbook/db-postgres-pool/
|
||||
doc/cookbook/db-sqlite-simple/
|
||||
doc/cookbook/jwt-and-basic-auth/
|
||||
|
||||
allow-newer: servant-js:servant-foreign
|
||||
|
||||
|
|
|
@ -10,6 +10,8 @@ build-type: Simple
|
|||
cabal-version: >=1.10
|
||||
|
||||
executable cookbook-basic-auth
|
||||
if impl(ghc < 7.10.1)
|
||||
buildable: False
|
||||
main-is: BasicAuth.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
|
@ -20,7 +22,7 @@ executable cookbook-basic-auth
|
|||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types
|
||||
, http-types < 0.11
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
default-language: Haskell2010
|
||||
|
|
|
@ -10,6 +10,8 @@ build-type: Simple
|
|||
cabal-version: >=1.10
|
||||
|
||||
executable cookbook-db-postgres-pool
|
||||
if impl(ghc < 7.10.1)
|
||||
buildable: False
|
||||
main-is: PostgresPool.lhs
|
||||
build-depends: base == 4.*
|
||||
, bytestring
|
||||
|
@ -20,7 +22,7 @@ executable cookbook-db-postgres-pool
|
|||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types
|
||||
, http-types < 0.11
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, postgresql-simple
|
||||
|
|
|
@ -10,6 +10,8 @@ build-type: Simple
|
|||
cabal-version: >=1.10
|
||||
|
||||
executable cookbook-db-sqlite-simple
|
||||
if impl(ghc < 7.10.1)
|
||||
buildable: False
|
||||
main-is: DBConnection.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
|
@ -19,7 +21,7 @@ executable cookbook-db-sqlite-simple
|
|||
, servant-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types
|
||||
, http-types < 0.11
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, sqlite-simple
|
||||
|
|
|
@ -17,6 +17,7 @@ you name it!
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
basic-auth/BasicAuth.lhs
|
||||
db-sqlite-simple/DBConnection.lhs
|
||||
db-postgres-pool/PostgresPool.lhs
|
||||
basic-auth/BasicAuth.lhs
|
||||
jwt-and-basic-auth/JWTAndBasicAuth.lhs
|
||||
|
|
|
@ -13,6 +13,8 @@ build-type: Simple
|
|||
cabal-version: >=1.10
|
||||
|
||||
executable cookbook-jwt-and-basic-auth
|
||||
if impl(ghc < 7.10.1)
|
||||
buildable: False
|
||||
main-is: JWTAndBasicAuth.lhs
|
||||
build-depends: base == 4.*
|
||||
, text
|
||||
|
@ -25,7 +27,7 @@ executable cookbook-jwt-and-basic-auth
|
|||
, servant-auth-server
|
||||
, warp
|
||||
, wai
|
||||
, http-types
|
||||
, http-types < 0.11
|
||||
, markdown-unlit >= 0.4
|
||||
, http-client
|
||||
, bytestring
|
||||
|
|
Loading…
Reference in a new issue