fix tests- clientsession dependencies
This commit is contained in:
parent
040893a0d4
commit
67fc2f8aa7
@ -6,6 +6,8 @@ Run this from the project root directory. It will make sure each site type build
|
|||||||
|
|
||||||
shelltest tests/scaffold.shelltest
|
shelltest tests/scaffold.shelltest
|
||||||
|
|
||||||
|
Give it the --debug flag to see all output
|
||||||
|
|
||||||
## Quicker, repeatable site building
|
## Quicker, repeatable site building
|
||||||
|
|
||||||
Useful for debugging individual failures.
|
Useful for debugging individual failures.
|
||||||
|
|||||||
@ -51,6 +51,7 @@ executable ~project~
|
|||||||
, yesod-auth >= 0.4 && < 0.5
|
, yesod-auth >= 0.4 && < 0.5
|
||||||
, yesod-static >= 0.1 && < 0.2
|
, yesod-static >= 0.1 && < 0.2
|
||||||
, mime-mail
|
, mime-mail
|
||||||
|
, clientsession
|
||||||
, wai-extra
|
, wai-extra
|
||||||
, directory
|
, directory
|
||||||
, bytestring
|
, bytestring
|
||||||
|
|||||||
@ -48,6 +48,7 @@ executable ~project~
|
|||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
, yesod-core >= 0.8 && < 0.9
|
, yesod-core >= 0.8 && < 0.9
|
||||||
, yesod-static
|
, yesod-static
|
||||||
|
, clientsession
|
||||||
, wai-extra
|
, wai-extra
|
||||||
, directory
|
, directory
|
||||||
, bytestring
|
, bytestring
|
||||||
|
|||||||
@ -24,6 +24,7 @@ import Control.Monad (unless)
|
|||||||
import Control.Monad.Trans.Class (lift)
|
import Control.Monad.Trans.Class (lift)
|
||||||
import Control.Monad.IO.Class (liftIO)
|
import Control.Monad.IO.Class (liftIO)
|
||||||
import qualified Data.Text as T
|
import qualified Data.Text as T
|
||||||
|
import Web.ClientSession (getKey)
|
||||||
|
|
||||||
-- | The site argument for your application. This can be a good place to
|
-- | The site argument for your application. This can be a good place to
|
||||||
-- keep settings and values requiring initialization before your application
|
-- keep settings and values requiring initialization before your application
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user