118 lines
4.2 KiB
Text
118 lines
4.2 KiB
Text
name: inmanis
|
|
version: 0.0.0
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: Yann Esposito
|
|
maintainer: Yann Esposito
|
|
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.8
|
|
build-type: Simple
|
|
homepage: http://inmanis.yesodweb.com/
|
|
|
|
Flag dev
|
|
Description: Turn on development settings, like auto-reload templates.
|
|
Default: False
|
|
|
|
Flag library-only
|
|
Description: Build for use with "yesod devel"
|
|
Default: False
|
|
|
|
library
|
|
exposed-modules: Application
|
|
Foundation
|
|
Import
|
|
Model
|
|
Settings
|
|
Settings.StaticFiles
|
|
Settings.Development
|
|
Handler.Home
|
|
Handler.Entry
|
|
Handler.Helper
|
|
Handler.Comment
|
|
Lib.Css.Helper
|
|
|
|
if flag(dev) || flag(library-only)
|
|
cpp-options: -DDEVELOPMENT
|
|
ghc-options: -Wall -threaded -O0
|
|
else
|
|
ghc-options: -Wall -threaded -O2
|
|
|
|
extensions: TemplateHaskell
|
|
QuasiQuotes
|
|
OverloadedStrings
|
|
NoImplicitPrelude
|
|
CPP
|
|
MultiParamTypeClasses
|
|
TypeFamilies
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
FlexibleContexts
|
|
EmptyDataDecls
|
|
NoMonomorphismRestriction
|
|
|
|
build-depends: base >= 4
|
|
-- , yesod-platform >= 1.0
|
|
, yesod >= 1.0
|
|
, yesod-core >= 1.0
|
|
, yesod-auth >= 1.0
|
|
, yesod-static >= 1.0
|
|
, yesod-default >= 1.0
|
|
, yesod-form >= 1.0
|
|
, yesod-test >= 0.2
|
|
, clientsession >= 0.7.3
|
|
, bytestring >= 0.9
|
|
, text >= 0.11
|
|
, persistent >= 0.9
|
|
, persistent-sqlite >= 0.9
|
|
, template-haskell
|
|
, hamlet >= 1.0
|
|
, shakespeare-css >= 1.0
|
|
, shakespeare-js >= 1.0
|
|
, shakespeare-text >= 1.0
|
|
, hjsmin >= 0.1
|
|
, monad-control >= 0.3
|
|
, wai-extra >= 1.2
|
|
, yaml >= 0.7
|
|
, http-conduit >= 1.4
|
|
, directory >= 1.1
|
|
, warp >= 1.2
|
|
, containers >= 0.4.2.1
|
|
, time >= 1.4
|
|
, mime-mail >= 0.4.1.1
|
|
, blaze-html >= 0.5.0.0
|
|
|
|
executable inmanis
|
|
if flag(library-only)
|
|
Buildable: False
|
|
|
|
main-is: ../main.hs
|
|
hs-source-dirs: dist
|
|
build-depends: base
|
|
, inmanis
|
|
, yesod-default
|
|
|
|
test-suite test
|
|
type: exitcode-stdio-1.0
|
|
main-is: main.hs
|
|
hs-source-dirs: tests
|
|
ghc-options: -Wall
|
|
extensions: TemplateHaskell
|
|
QuasiQuotes
|
|
OverloadedStrings
|
|
NoImplicitPrelude
|
|
CPP
|
|
OverloadedStrings
|
|
MultiParamTypeClasses
|
|
TypeFamilies
|
|
GADTs
|
|
GeneralizedNewtypeDeriving
|
|
FlexibleContexts
|
|
|
|
build-depends: base
|
|
, inmanis
|
|
, yesod-test
|
|
, yesod-default
|
|
, yesod-core
|