[scaffold] make the scaffolding buildable
This commit is contained in:
parent
55bd35fc5c
commit
5b8925962f
@ -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"
|
||||
|
||||
@ -3,6 +3,7 @@ module Import
|
||||
, module Yesod
|
||||
, module Foundation
|
||||
, module Settings.StaticFiles
|
||||
, module Settings.Development
|
||||
, module Data.Monoid
|
||||
, module Control.Applicative
|
||||
, Text
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
module Settings.Development where
|
||||
|
||||
import Prelude
|
||||
|
||||
development :: Bool
|
||||
development =
|
||||
#if DEVELOPMENT
|
||||
|
||||
@ -32,6 +32,7 @@ library
|
||||
Model
|
||||
Settings
|
||||
Settings.StaticFiles
|
||||
Settings.Development
|
||||
Handler.Home
|
||||
|
||||
ghc-options: -Wall -threaded -O0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user