personal-effectivity-applic.../PEA.cabal

91 lines
1.9 KiB
Plaintext

cabal-version: 2.4
name: PEA
version: 0.2.0.0
-- A short (one-line) description of the package.
synopsis: Personal Effectivity Application
-- A longer description of the package.
description: a SPA and an API for personal effectivity
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: Sam Hatfield
maintainer: hey@samhatfield.me
stability: alpha
build-type: Simple
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
common shared-properties
default-language: Haskell2010
build-depends:
base == 4.*
ghc-options:
-Wall
library
import: shared-properties
hs-source-dirs: src
exposed-modules:
PEA.Client
, PEA.Client.CLI
, PEA.Client.CSS
, PEA.Client.Elm
, PEA.Server
, PEA.Server.API
, PEA.Server.SQL
, PEA.Server.Types
build-depends:
aeson
, algebraic-graphs
, containers
, persistent
, persistent-postgresql
, persistent-template
, servant-server
, time
, uuid
, wai
, warp
executable pea-srv
import: shared-properties
main-is: Service.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
hs-source-dirs: app
build-depends:
PEA
executable pea-migrate
import: shared-properties
main-is: Migrate.hs
hs-source-dirs: app
build-depends:
PEA
test-suite test
type: exitcode-stdio-1.0
import: shared-properties
main-is: Driver.hs
hs-source-dirs: test
build-depends:
PEA
, hedgehog
, tasty
, tasty-discover
, tasty-hedgehog
build-tool-depends:
tasty-discover:tasty-discover