2015-03-10 23:13:42 +00:00
|
|
|
name: neat
|
2017-11-30 02:59:10 +00:00
|
|
|
version: 0.0.1
|
2015-03-10 23:13:42 +00:00
|
|
|
cabal-version: >= 1.8
|
|
|
|
build-type: Simple
|
2016-01-08 05:42:07 +00:00
|
|
|
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
|
2015-03-10 23:13:42 +00:00
|
|
|
|
|
|
|
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
|
2015-04-26 20:18:24 +00:00
|
|
|
Handler.Wallet
|
2015-07-20 20:10:30 +00:00
|
|
|
Handler.Settings
|
2015-08-06 22:07:48 +00:00
|
|
|
Handler.Update
|
2015-08-07 00:26:16 +00:00
|
|
|
Handler.Stock
|
2015-08-20 16:42:53 +00:00
|
|
|
Handler.ProfitItems
|
2015-09-07 01:03:23 +00:00
|
|
|
Handler.Orders
|
2015-09-17 22:41:37 +00:00
|
|
|
Handler.Item
|
2015-09-18 15:59:50 +00:00
|
|
|
Handler.Problematic
|
2015-09-18 17:06:17 +00:00
|
|
|
Handler.LostOrders
|
2015-03-10 23:13:42 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2017-11-30 02:58:29 +00:00
|
|
|
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
|
2015-03-10 23:13:42 +00:00
|
|
|
, template-haskell
|
2017-11-30 02:58:29 +00:00
|
|
|
, shakespeare
|
|
|
|
, hjsmin
|
|
|
|
, monad-control
|
|
|
|
, wai-extra
|
|
|
|
, yaml
|
|
|
|
, http-conduit
|
|
|
|
, directory
|
|
|
|
, warp
|
2015-03-10 23:13:42 +00:00
|
|
|
, data-default
|
2017-11-30 02:58:29 +00:00
|
|
|
, aeson
|
|
|
|
, conduit
|
|
|
|
, monad-logger
|
|
|
|
, fast-logger
|
|
|
|
, wai-logger
|
2015-03-10 23:13:42 +00:00
|
|
|
, file-embed
|
|
|
|
, safe
|
|
|
|
, unordered-containers
|
|
|
|
, containers
|
|
|
|
, vector
|
2015-07-24 19:12:18 +00:00
|
|
|
, time >= 1.5
|
2015-07-20 20:10:30 +00:00
|
|
|
, HTTP
|
|
|
|
, xml-lens
|
|
|
|
, xml-conduit
|
2015-07-24 19:12:18 +00:00
|
|
|
, eve-api
|
2015-08-18 10:28:15 +00:00
|
|
|
, lens
|
2015-07-20 20:10:30 +00:00
|
|
|
|
2015-03-10 23:13:42 +00:00
|
|
|
|
|
|
|
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
|
2016-01-08 05:42:07 +00:00
|
|
|
, yesod-test >= 1.4.3
|
2015-03-10 23:13:42 +00:00
|
|
|
, yesod-core
|
|
|
|
, yesod
|
|
|
|
, persistent
|
|
|
|
, persistent-postgresql
|
|
|
|
, resourcet
|
|
|
|
, monad-logger
|
|
|
|
, transformers
|
|
|
|
, hspec >= 2.0.0
|
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-yesod
|