Appease Hackage
This commit is contained in:
parent
f6ac2b1d3a
commit
de45bc0d27
@ -531,8 +531,8 @@ widgetToPageContent :: Yesod site
|
|||||||
=> WidgetFor site ()
|
=> WidgetFor site ()
|
||||||
-> HandlerFor site (PageContent (Route site))
|
-> HandlerFor site (PageContent (Route site))
|
||||||
widgetToPageContent w = do
|
widgetToPageContent w = do
|
||||||
jsAttrs <- jsAttributesHandler
|
jsAttrs <- jsAttributesHandler
|
||||||
HandlerFor $ \hd -> do
|
HandlerFor $ \hd -> do
|
||||||
master <- unHandlerFor getYesod hd
|
master <- unHandlerFor getYesod hd
|
||||||
ref <- newIORef mempty
|
ref <- newIORef mempty
|
||||||
unWidgetFor w WidgetData
|
unWidgetFor w WidgetData
|
||||||
|
|||||||
@ -9,6 +9,7 @@
|
|||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
{-# LANGUAGE RankNTypes #-}
|
{-# LANGUAGE RankNTypes #-}
|
||||||
{-# LANGUAGE ScopedTypeVariables #-}
|
{-# LANGUAGE ScopedTypeVariables #-}
|
||||||
|
{-# LANGUAGE TemplateHaskell #-}
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
--
|
--
|
||||||
-- Module : Yesod.Handler
|
-- Module : Yesod.Handler
|
||||||
|
|||||||
@ -8,7 +8,7 @@ synopsis: Creation of type-safe, RESTful web applications.
|
|||||||
description: API docs and the README are available at <http://www.stackage.org/package/yesod-core>
|
description: API docs and the README are available at <http://www.stackage.org/package/yesod-core>
|
||||||
category: Web, Yesod
|
category: Web, Yesod
|
||||||
stability: Stable
|
stability: Stable
|
||||||
cabal-version: >= 1.8
|
cabal-version: >= 1.10
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
homepage: http://www.yesodweb.com/
|
homepage: http://www.yesodweb.com/
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
@ -22,6 +22,7 @@ extra-source-files:
|
|||||||
README.md
|
README.md
|
||||||
|
|
||||||
library
|
library
|
||||||
|
default-language: Haskell2010
|
||||||
hs-source-dirs: src
|
hs-source-dirs: src
|
||||||
|
|
||||||
build-depends: base >= 4.10 && < 5
|
build-depends: base >= 4.10 && < 5
|
||||||
@ -97,14 +98,12 @@ library
|
|||||||
Yesod.Routes.TH.RouteAttrs
|
Yesod.Routes.TH.RouteAttrs
|
||||||
|
|
||||||
ghc-options: -Wall
|
ghc-options: -Wall
|
||||||
-- Following line added due to: https://github.com/yesodweb/yesod/issues/545
|
|
||||||
-- This looks like a GHC bug
|
|
||||||
extensions: MultiParamTypeClasses
|
|
||||||
|
|
||||||
-- Workaround for: http://ghc.haskell.org/trac/ghc/ticket/8443
|
-- Workaround for: http://ghc.haskell.org/trac/ghc/ticket/8443
|
||||||
extensions: TemplateHaskell
|
other-extensions: TemplateHaskell
|
||||||
|
|
||||||
test-suite test-routes
|
test-suite test-routes
|
||||||
|
default-language: Haskell2010
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: RouteSpec.hs
|
main-is: RouteSpec.hs
|
||||||
hs-source-dirs: test, src
|
hs-source-dirs: test, src
|
||||||
@ -121,7 +120,7 @@ test-suite test-routes
|
|||||||
Yesod.Routes.TH.Types
|
Yesod.Routes.TH.Types
|
||||||
|
|
||||||
-- Workaround for: http://ghc.haskell.org/trac/ghc/ticket/8443
|
-- Workaround for: http://ghc.haskell.org/trac/ghc/ticket/8443
|
||||||
extensions: TemplateHaskell
|
other-extensions: TemplateHaskell
|
||||||
|
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, hspec
|
, hspec
|
||||||
@ -134,6 +133,7 @@ test-suite test-routes
|
|||||||
, HUnit
|
, HUnit
|
||||||
|
|
||||||
test-suite tests
|
test-suite tests
|
||||||
|
default-language: Haskell2010
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: test.hs
|
main-is: test.hs
|
||||||
hs-source-dirs: test
|
hs-source-dirs: test
|
||||||
@ -201,9 +201,10 @@ test-suite tests
|
|||||||
, warp
|
, warp
|
||||||
, yesod-core
|
, yesod-core
|
||||||
ghc-options: -Wall -threaded
|
ghc-options: -Wall -threaded
|
||||||
extensions: TemplateHaskell
|
other-extensions: TemplateHaskell
|
||||||
|
|
||||||
benchmark widgets
|
benchmark widgets
|
||||||
|
default-language: Haskell2010
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: bench
|
hs-source-dirs: bench
|
||||||
build-depends: base
|
build-depends: base
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user