Fix a broken build
This commit is contained in:
parent
5fdab3b731
commit
bba851b8cf
@ -47,7 +47,7 @@ defaultMain :: (Show env, Read env)
|
|||||||
defaultMain load withSite = do
|
defaultMain load withSite = do
|
||||||
config <- load
|
config <- load
|
||||||
logger <- makeLogger
|
logger <- makeLogger
|
||||||
withSite config logger $ runSettings
|
withSite config logger $ runSettings defaultSettings
|
||||||
{ settingsHost = "0.0.0.0"
|
{ settingsHost = "0.0.0.0"
|
||||||
, settingsPort = appPort config
|
, settingsPort = appPort config
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,11 +12,11 @@ cabal-version: >= 1.6
|
|||||||
build-type: Simple
|
build-type: Simple
|
||||||
homepage: http://~project~.yesodweb.com/
|
homepage: http://~project~.yesodweb.com/
|
||||||
|
|
||||||
Flag production
|
Flag dev
|
||||||
Description: Build the production executable.
|
Description: Turn on development settings, like auto-reload templates.
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
Flag devel
|
Flag library-only
|
||||||
Description: Build for use with "yesod devel"
|
Description: Build for use with "yesod devel"
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
|
|||||||
@ -7,9 +7,12 @@ runghc main.hs init
|
|||||||
cabal configure || cabal install
|
cabal configure || cabal install
|
||||||
cabal build
|
cabal build
|
||||||
cabal clean
|
cabal clean
|
||||||
cabal configure -fdevel
|
cabal configure -fdev
|
||||||
cabal build
|
cabal build
|
||||||
cabal clean
|
cabal clean
|
||||||
cabal configure -fproduction
|
cabal configure -flibrary-only
|
||||||
|
cabal build
|
||||||
|
cabal clean
|
||||||
|
cabal configure
|
||||||
cabal build
|
cabal build
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user