added flgas for conditional compilation of available backends
This commit is contained in:
parent
e8f2a26741
commit
e74ab26b44
2 changed files with 52 additions and 6 deletions
26
package.yaml
26
package.yaml
|
@ -19,6 +19,24 @@ extra-source-files:
|
|||
# common to point users to the README.md file.
|
||||
description: Please see the README on GitHub at <https://github.com/githubuser/tickLeisteServer#readme>
|
||||
|
||||
flags:
|
||||
http:
|
||||
description: Build with http support
|
||||
manual: true
|
||||
default: true
|
||||
https:
|
||||
description: Build with https support
|
||||
manual: true
|
||||
default: false
|
||||
fast-cgi:
|
||||
description: Build with fastcgi support
|
||||
manual: true
|
||||
default: false
|
||||
cgi:
|
||||
description: Build with cgi support
|
||||
manual: true
|
||||
default: false
|
||||
|
||||
dependencies:
|
||||
- base >= 4.7 && < 5
|
||||
- tickLeiste
|
||||
|
@ -31,8 +49,12 @@ dependencies:
|
|||
- containers
|
||||
- wai
|
||||
- wai-websockets
|
||||
- http-types
|
||||
- warp
|
||||
|
||||
when:
|
||||
- condition: flag(http)
|
||||
dependencies:
|
||||
- http-types
|
||||
- warp
|
||||
|
||||
build-tools:
|
||||
- cpphs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue