yesod-bin 1.4.2 → 1.4.3
raw patch · 4 files changed
+10/−1 lines, 4 files
Files
- ChangeLog.md +4/−0
- Scaffolding/Scaffolder.hs +3/−0
- input/database.cg +2/−0
- yesod-bin.cabal +1/−1
ChangeLog.md view
@@ -1,3 +1,7 @@+## 1.4.3++Add the minimal scaffolding+ ## 1.4.2 Scaffolding updates:
Scaffolding/Scaffolder.hs view
@@ -35,6 +35,7 @@ | Mysql | MongoDB | Simple+ | Minimal deriving (Eq, Read, Show, Enum, Bounded) puts :: LT.Text -> IO ()@@ -50,6 +51,7 @@ showBackend Mysql = "mysql" showBackend MongoDB = "mongo" showBackend Simple = "simple"+showBackend Minimal = "mini" readBackend :: String -> Maybe Backend readBackend s = lookup s $ map (showBackend &&& id) backends@@ -61,6 +63,7 @@ backendBS Mysql = $(embedFile "hsfiles/mysql.hsfiles") backendBS MongoDB = $(embedFile "hsfiles/mongo.hsfiles") backendBS Simple = $(embedFile "hsfiles/simple.hsfiles")+backendBS Minimal = $(embedFile "hsfiles/minimal.hsfiles") validPackageName :: String -> Bool validPackageName s = isJust (simpleParse s :: Maybe PackageName)
input/database.cg view
@@ -8,6 +8,8 @@ mongo = mongodb mysql = MySQL simple = no database, no auth+ mini = bare bones, the "Hello World" of multi-file Yesod apps+ (Note: not configured to work with yesod devel) url = Let me specify URL containing a site (advanced) So, what'll it be?
yesod-bin.cabal view
@@ -1,5 +1,5 @@ name: yesod-bin-version: 1.4.2+version: 1.4.3 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>