neat/neat.cabal

157 lines
4.5 KiB
Plaintext

name: neat
version: 0.0.0
cabal-version: >= 1.8
build-type: Simple
category: WebApp
maintainer: Stefan Dresselhaus
synopsis: Accounting-Application for the game EVE Online
license: GPL-3
license-file: LICENSE
description: Accounting-Application for the game EVE Online
source-repository head
type: git
location: https://github.com/Drezil/neat
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
hs-source-dirs: ., app
exposed-modules: Application
Foundation
Import
Import.NoFoundation
Model
Settings
Settings.StaticFiles
Handler.Common
Handler.Home
Handler.Wallet
Handler.Settings
Handler.Update
Handler.Stock
Handler.ProfitItems
Handler.Orders
Handler.Item
Handler.Problematic
Handler.LostOrders
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -fwarn-tabs -O0
else
ghc-options: -Wall -fwarn-tabs -O2
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
RecordWildCards
build-depends: base
, yesod
, yesod-core
, yesod-auth
, yesod-static
, yesod-form
, yesod-auth-hashdb
, yesod-auth-oauth2
, classy-prelude
, classy-prelude-conduit
, classy-prelude-yesod
, bytestring
, text
, persistent
, persistent-postgresql
, persistent-template
, template-haskell
, shakespeare
, hjsmin
, monad-control
, wai-extra
, yaml
, http-conduit
, directory
, warp
, data-default
, aeson
, conduit
, monad-logger
, fast-logger
, wai-logger
, file-embed
, safe
, unordered-containers
, containers
, vector
, time >= 1.5
, HTTP
, xml-lens
, xml-conduit
, eve-api
, lens
executable neat
if flag(library-only)
Buildable: False
main-is: main.hs
hs-source-dirs: app
build-depends: base, neat
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
test-suite test
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
ghc-options: -Wall
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TupleSections
build-depends: base
, neat
, yesod-test >= 1.4.3
, yesod-core
, yesod
, persistent
, persistent-postgresql
, resourcet
, monad-logger
, transformers
, hspec >= 2.0.0
, classy-prelude
, classy-prelude-yesod