yesod/scaffold/cabal.cg
2010-09-20 10:48:45 +02:00

54 lines
1.5 KiB
Plaintext

name: ~project~
version: 0.0.0
license: BSD3
license-file: LICENSE
author: ~name~
maintainer: ~name~
synopsis: The greatest Yesod web application ever.
description: I'm sure you can say something clever here if you try.
category: Web
stability: Experimental
cabal-version: >= 1.6
build-type: Simple
homepage: http://~project~.yesodweb.com/
Flag production
Description: Build the production executable.
Default: False
executable simple-server
if flag(production)
Buildable: False
main-is: simple-server.hs
build-depends: base >= 4 && < 5,
yesod >= 0.5 && < 0.6,
wai-extra,
directory,
bytestring,
persistent,
persistent-~lower~,
template-haskell,
hamlet
ghc-options: -Wall
extensions: TemplateHaskell, QuasiQuotes, TypeFamilies
executable devel-server
if flag(production)
Buildable: False
else
build-depends: wai-handler-devel >= 0.1.0 && < 0.2
main-is: devel-server.hs
ghc-options: -Wall -O2
executable fastcgi
if flag(production)
Buildable: True
else
Buildable: False
cpp-options: -DPRODUCTION
main-is: fastcgi.hs
build-depends: wai-handler-fastcgi
ghc-options: -Wall
extensions: TemplateHaskell, QuasiQuotes, TypeFamilies