Turn on blaze-html 0.5 by default
This commit is contained in:
parent
07d26c0b2c
commit
468b013860
@ -10,4 +10,3 @@
|
||||
./yesod-default
|
||||
./yesod-test
|
||||
./yesod
|
||||
./yesod-test
|
||||
|
||||
@ -14,7 +14,7 @@ description: Authentication for Yesod.
|
||||
|
||||
flag blaze_html_0_5
|
||||
description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
default: False
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
|
||||
@ -42,7 +42,7 @@ flag test
|
||||
|
||||
flag blaze_html_0_5
|
||||
description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
default: False
|
||||
default: True
|
||||
|
||||
library
|
||||
-- Work around a bug in cabal. Without this, wai-test doesn't get built and
|
||||
|
||||
@ -74,7 +74,11 @@ import Blaze.ByteString.Builder (writeByteString, toLazyByteString)
|
||||
import Blaze.ByteString.Builder.Internal.Write (fromWriteList)
|
||||
import Database.Persist.Store (PersistEntityBackend)
|
||||
|
||||
#if MIN_VERSION_blaze_html(0, 5, 0)
|
||||
import Text.Blaze.Html.Renderer.String (renderHtml)
|
||||
#else
|
||||
import Text.Blaze.Renderer.String (renderHtml)
|
||||
#endif
|
||||
import qualified Data.ByteString as S
|
||||
import qualified Data.ByteString.Lazy as L
|
||||
import Data.Text (Text, unpack, pack)
|
||||
|
||||
@ -14,7 +14,7 @@ description: Form handling support for Yesod Web Framework
|
||||
|
||||
flag blaze_html_0_5
|
||||
description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
default: False
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
|
||||
@ -14,7 +14,7 @@ description: Helper functions and data types for producing News feeds.
|
||||
|
||||
flag blaze_html_0_5
|
||||
description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
default: False
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4 && < 5
|
||||
|
||||
@ -64,7 +64,7 @@ extra-source-files:
|
||||
|
||||
flag blaze_html_0_5
|
||||
description: use blaze-html 0.5 and blaze-markup 0.5
|
||||
default: False
|
||||
default: True
|
||||
|
||||
library
|
||||
build-depends: base >= 4.3 && < 5
|
||||
|
||||
Loading…
Reference in New Issue
Block a user