[scaffold] make the scaffolding buildable

This commit is contained in:
Patrick Palka 2012-04-08 00:27:22 -04:00
parent 55bd35fc5c
commit 5b8925962f
4 changed files with 5 additions and 0 deletions

View File

@ -161,6 +161,7 @@ scaffold = do
writeFile' "Model.hs" $(codegen "Model.hs")
writeFile' "Settings.hs" $(codegen "Settings.hs")
writeFile' "Settings/StaticFiles.hs" $(codegen "Settings/StaticFiles.hs")
writeFile' "Settings/Development.hs" $(codegen "Settings/Development.hs")
writeFile' "static/css/bootstrap.css"
$(codegen "static/css/bootstrap.css")
writeFile' "templates/default-layout.hamlet"

View File

@ -3,6 +3,7 @@ module Import
, module Yesod
, module Foundation
, module Settings.StaticFiles
, module Settings.Development
, module Data.Monoid
, module Control.Applicative
, Text

View File

@ -1,5 +1,7 @@
module Settings.Development where
import Prelude
development :: Bool
development =
#if DEVELOPMENT

View File

@ -32,6 +32,7 @@ library
Model
Settings
Settings.StaticFiles
Settings.Development
Handler.Home
ghc-options: -Wall -threaded -O0