backends should work now (but untested)
This commit is contained in:
parent
e74ab26b44
commit
04d9f063d4
6 changed files with 113 additions and 11 deletions
27
package.yaml
27
package.yaml
|
@ -29,7 +29,7 @@ flags:
|
|||
manual: true
|
||||
default: false
|
||||
fast-cgi:
|
||||
description: Build with fastcgi support
|
||||
description: Build with fastcgi support -- this depends on the fcgi c library
|
||||
manual: true
|
||||
default: false
|
||||
cgi:
|
||||
|
@ -49,12 +49,22 @@ dependencies:
|
|||
- containers
|
||||
- wai
|
||||
- wai-websockets
|
||||
- http-types
|
||||
|
||||
when:
|
||||
- condition: flag(http)
|
||||
dependencies:
|
||||
- http-types
|
||||
- warp
|
||||
- condition: flag(https)
|
||||
dependencies:
|
||||
- warp-tls
|
||||
- warp
|
||||
- condition: flag(fast-cgi)
|
||||
dependencies:
|
||||
- wai-handler-fastcgi
|
||||
- condition: flag(cgi)
|
||||
dependencies:
|
||||
wai-extra
|
||||
|
||||
build-tools:
|
||||
- cpphs
|
||||
|
@ -70,6 +80,19 @@ executables:
|
|||
- -cpp
|
||||
- -pgmP cpphs
|
||||
- -optP --cpp
|
||||
when:
|
||||
- condition: flag(http)
|
||||
cpp-options:
|
||||
- -DHTTP_SUPPORT
|
||||
- condition: flag(https)
|
||||
cpp-options:
|
||||
- -DHTTPS_SUPPORT
|
||||
- condition: flag(fast-cgi)
|
||||
cpp-options:
|
||||
- -DFASTCGI_SUPPORT
|
||||
- condition: flag(cgi)
|
||||
cpp-options:
|
||||
- -DCGI_SUPPORT
|
||||
|
||||
tests:
|
||||
tickLeisteServer-test:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue