Fix a broken build

This commit is contained in:
Michael Snoyman 2011-12-20 16:26:08 +02:00
parent 5fdab3b731
commit bba851b8cf
3 changed files with 9 additions and 6 deletions

View File

@ -47,7 +47,7 @@ defaultMain :: (Show env, Read env)
defaultMain load withSite = do
config <- load
logger <- makeLogger
withSite config logger $ runSettings
withSite config logger $ runSettings defaultSettings
{ settingsHost = "0.0.0.0"
, settingsPort = appPort config
}

View File

@ -12,11 +12,11 @@ cabal-version: >= 1.6
build-type: Simple
homepage: http://~project~.yesodweb.com/
Flag production
Description: Build the production executable.
Flag dev
Description: Turn on development settings, like auto-reload templates.
Default: False
Flag devel
Flag library-only
Description: Build for use with "yesod devel"
Default: False

View File

@ -7,9 +7,12 @@ runghc main.hs init
cabal configure || cabal install
cabal build
cabal clean
cabal configure -fdevel
cabal configure -fdev
cabal build
cabal clean
cabal configure -fproduction
cabal configure -flibrary-only
cabal build
cabal clean
cabal configure
cabal build
)