mirror of
https://github.com/typeable/wai.git
synced 2025-01-08 15:37:19 +03:00
Add flag blaze_html_0_5 and changes for blaze-html-0.5
This commit is contained in:
parent
09ac1841de
commit
d44e639857
@ -22,6 +22,10 @@ Flag print
|
||||
Description: print debug info
|
||||
Default: False
|
||||
|
||||
flag blaze_html_0_5
|
||||
Description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
Default: False
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
, wai >= 1.2 && < 1.3
|
||||
@ -31,7 +35,6 @@ library
|
||||
, unix-compat >= 0.2
|
||||
, directory >= 1.0.1 && < 1.2
|
||||
, containers >= 0.2 && < 0.5
|
||||
, blaze-html >= 0.4 && < 0.5
|
||||
, time >= 1.1.4
|
||||
, old-locale >= 1.0.0.2 && < 1.1
|
||||
, file-embed >= 0.0.3.1 && < 0.1
|
||||
@ -40,6 +43,15 @@ library
|
||||
, base64-bytestring >= 0.1 && < 0.2
|
||||
, cryptohash >= 0.7 && < 0.8
|
||||
, http-date
|
||||
|
||||
if flag(blaze_html_0_5)
|
||||
build-depends:
|
||||
blaze-html >= 0.5 && < 0.6
|
||||
, blaze-markup >= 0.5.1 && < 0.6
|
||||
else
|
||||
build-depends:
|
||||
blaze-html >= 0.4 && < 0.5
|
||||
|
||||
exposed-modules: Network.Wai.Application.Static
|
||||
ghc-options: -Wall
|
||||
extensions: CPP
|
||||
|
Loading…
Reference in New Issue
Block a user