mateamt/mateamt.cabal

146 lines
4.5 KiB
Plaintext
Raw Normal View History

2019-03-22 21:34:01 +00:00
cabal-version: 2.4
name: mateamt
version: 0.0.0.0
synopsis: A whole new matemat
-- description:
-- bug-reports:
license: AGPL-3.0-only
license-file: LICENSE
author: nek0
maintainer: nek0@nek0.eu
-- copyright:
category: Web
extra-source-files: CHANGELOG.md
flag develop
description: compile mateamt in developer mode. Authentication disabled,
default: False
manual: True
2019-03-22 21:34:01 +00:00
executable mateamt
2021-02-01 01:25:52 +00:00
main-is: AppMain.hs
2019-10-27 21:45:07 +00:00
other-modules: AppTypes
, AppTypes.Configuration
2019-10-28 04:47:25 +00:00
, Janitor
2019-12-19 01:40:54 +00:00
, Paths_mateamt
2019-09-07 00:48:05 +00:00
-- other-extensions:
2019-11-15 17:51:51 +00:00
build-depends: base >=4.12.0.0 && < 5
2019-09-07 00:48:05 +00:00
, mateamt
2019-10-27 21:45:07 +00:00
, text
, bytestring
2019-09-07 00:48:05 +00:00
, base16-bytestring
, containers
, mtl
, opaleye
, postgresql-simple
2020-05-10 05:28:17 +00:00
, postgresql-simple-migration
2019-09-07 00:48:05 +00:00
, stm
2019-10-31 22:58:50 +00:00
, network
2019-09-07 00:48:05 +00:00
, servant
, servant-server
, time
, warp
, wai
, wai-logger
2020-04-18 22:49:30 +00:00
, wai-middleware-throttle
2019-11-15 17:51:51 +00:00
, HsYAML >= 0.2.1.0
2019-10-27 21:45:07 +00:00
, optparse-applicative
2020-04-18 22:49:30 +00:00
, case-insensitive
, iproute
, clock
2019-09-07 00:48:05 +00:00
hs-source-dirs: app
ghc-options: -Wall
default-language: Haskell2010
library
2019-10-21 18:40:30 +00:00
exposed-modules: API
2019-08-10 08:37:45 +00:00
, Control
, Control.Buy
, Control.Journal
2019-08-14 16:03:17 +00:00
, Control.User
, Control.Product
, Control.Auth
2019-09-07 18:05:24 +00:00
, Control.Avatar
2019-12-19 01:40:54 +00:00
, Control.Meta
2020-07-19 09:07:52 +00:00
, Control.Role
2019-04-15 20:23:25 +00:00
, Model
, Model.User
2019-07-18 15:09:26 +00:00
, Model.Product
2019-04-21 15:27:15 +00:00
, Model.Auth
2019-07-21 12:42:45 +00:00
, Model.Amount
2019-08-09 18:54:06 +00:00
, Model.Journal
2019-09-07 18:05:24 +00:00
, Model.Avatar
2020-05-16 08:02:26 +00:00
, Model.Role
2019-04-15 20:23:25 +00:00
, Types
2019-04-17 05:51:15 +00:00
, Types.Auth
2019-07-18 15:09:26 +00:00
, Types.Product
2019-05-06 21:41:05 +00:00
, Types.Reader
2019-04-17 14:14:44 +00:00
, Types.Refine
, Types.User
2019-07-18 17:01:49 +00:00
, Types.Purchase
2019-07-27 14:34:28 +00:00
, Types.Amount
2019-08-09 18:54:06 +00:00
, Types.Journal
2019-09-07 18:05:24 +00:00
, Types.Avatar
2019-12-19 01:40:54 +00:00
, Types.Meta
2020-07-19 09:07:52 +00:00
, Types.Role
, Classes
, Classes.FromDatabase
, Classes.ToDatabase
2019-10-21 18:40:30 +00:00
, Util
2019-03-22 21:34:01 +00:00
-- other-extensions:
2019-11-15 17:51:51 +00:00
build-depends: base >=4.12.0.0 && < 5
2019-04-15 20:23:25 +00:00
, servant
, servant-server
2019-11-15 17:51:51 +00:00
, servant-rawm >= 0.3.0.0
, servant-rawm-server
2019-04-15 20:23:25 +00:00
, opaleye
, aeson
, text
2019-05-08 23:24:58 +00:00
, time
2019-10-21 18:40:30 +00:00
, profunctors
2019-04-15 20:23:25 +00:00
, product-profunctors
, postgresql-simple
, warp
2019-04-16 11:30:16 +00:00
, wai
, wai-logger
2019-09-07 18:05:24 +00:00
, http-types
2019-04-15 20:23:25 +00:00
, http-api-data
2019-04-17 05:51:15 +00:00
, bytestring
2019-04-17 08:45:48 +00:00
, base16-bytestring
, base64-bytestring
2019-04-21 15:27:15 +00:00
, random-bytestring
, containers
2019-05-06 21:41:05 +00:00
, stm
, mtl
2019-09-07 18:05:24 +00:00
, pureMD5
, extra
2019-03-22 21:34:01 +00:00
hs-source-dirs: src
default-language: Haskell2010
2019-09-07 00:48:05 +00:00
ghc-options: -Wall
if flag(develop)
cpp-options: -DDEVELOP
2021-02-01 01:25:52 +00:00
test-suite spec
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: base
, mateamt
, hspec
, hspec-wai
, hspec-wai-json
, warp
, wai
, pg-transact
, tmp-postgres
, bytestring
, resource-pool
, postgresql-simple
other-modules: TestUtil
, Spec
2021-02-05 18:19:26 +00:00
, AppMainSpec
2021-02-01 01:25:52 +00:00
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover