From 30780add67b36ef526b76e93eeb8b2809135c9ce Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 9 Nov 2014 13:53:39 +0200 Subject: [PATCH] Scaffolding update --- yesod-bin/hsfiles/mongo.hsfiles | 86 +++++++++++++++----------- yesod-bin/hsfiles/mysql.hsfiles | 86 +++++++++++++++----------- yesod-bin/hsfiles/postgres-fay.hsfiles | 86 +++++++++++++++----------- yesod-bin/hsfiles/postgres.hsfiles | 86 +++++++++++++++----------- yesod-bin/hsfiles/simple.hsfiles | 78 +++++++++++++---------- yesod-bin/hsfiles/sqlite.hsfiles | 86 +++++++++++++++----------- yesod-bin/yesod-bin.cabal | 2 +- 7 files changed, 291 insertions(+), 219 deletions(-) diff --git a/yesod-bin/hsfiles/mongo.hsfiles b/yesod-bin/hsfiles/mongo.hsfiles index 094f1f24..9981568f 100644 --- a/yesod-bin/hsfiles/mongo.hsfiles +++ b/yesod-bin/hsfiles/mongo.hsfiles @@ -279,7 +279,6 @@ getExtra = fmap (appExtra . settings) getYesod -- https://github.com/yesodweb/yesod/wiki/Sending-email {-# START_FILE Handler/Home.hs #-} -{-# LANGUAGE TupleSections, OverloadedStrings #-} module Handler.Home where import Import @@ -415,6 +414,7 @@ library NoMonomorphismRestriction DeriveDataTypeable ViewPatterns + TupleSections build-depends: base >= 4 && < 5 , yesod >= 1.4.0 && < 1.5 @@ -461,10 +461,26 @@ executable PROJECTNAME test-suite test type: exitcode-stdio-1.0 - main-is: main.hs + main-is: Spec.hs hs-source-dirs: test ghc-options: -Wall + extensions: TemplateHaskell + QuasiQuotes + OverloadedStrings + NoImplicitPrelude + CPP + MultiParamTypeClasses + TypeFamilies + GADTs + GeneralizedNewtypeDeriving + FlexibleContexts + EmptyDataDecls + NoMonomorphismRestriction + DeriveDataTypeable + ViewPatterns + TupleSections + build-depends: base , PROJECTNAME , yesod-test >= 1.4 && < 1.5 @@ -9002,7 +9018,7 @@ $maybe msg <- mmsg
^{formWidget}