addressbook/addressbook.cabal

108 lines
3.2 KiB
Plaintext
Raw Normal View History

2020-12-10 19:47:11 +02:00
cabal-version: 2.4
-- Initial package description 'addressbook.cabal' generated by 'cabal
-- init'. For further documentation, see
-- http://haskell.org/cabal/users-guide/
name: addressbook
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
license: BSD-3-Clause
license-file: LICENSE
author: Mats Rauhala
maintainer: mats.rauhala@iki.fi
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
common deps
build-depends: base >=4.13.0.0 && <4.15
2020-12-10 19:47:11 +02:00
library
import: deps
2020-12-10 19:47:11 +02:00
exposed-modules: MyLib
, Data.Trie
2020-12-10 21:24:23 +02:00
, Data.Email.Header
2020-12-10 22:22:46 +02:00
, Data.Email
2020-12-10 23:08:03 +02:00
, Control.Addressbook.Streaming
2020-12-11 17:55:52 +02:00
, Control.Addressbook.Query
2020-12-10 19:47:11 +02:00
-- other-modules:
-- other-extensions:
2020-12-10 21:24:23 +02:00
default-extensions: OverloadedStrings
LambdaCase
build-depends: attoparsec
2020-12-10 19:47:11 +02:00
, mtl
2020-12-10 22:22:46 +02:00
, conduit
, conduit-extra
, bytestring
, lens
2020-12-10 19:47:11 +02:00
, text
2020-12-10 21:24:23 +02:00
, vector
2020-12-10 23:20:38 +02:00
, containers
2020-12-11 17:55:35 +02:00
, filepath
, parallel
2020-12-10 19:47:11 +02:00
hs-source-dirs: src
default-language: Haskell2010
2020-12-11 17:53:34 +02:00
ghc-options: -Wall
2020-12-10 19:47:11 +02:00
executable addressbook
import: deps
2020-12-10 19:47:11 +02:00
main-is: Main.hs
-- other-modules:
-- other-extensions:
build-depends: addressbook
2020-12-10 23:08:03 +02:00
, optparse-applicative
2020-12-11 17:53:34 +02:00
, text
2020-12-10 19:47:11 +02:00
hs-source-dirs: app
default-language: Haskell2010
ghc-options: -Wall -threaded -eventlog
2020-12-10 19:47:11 +02:00
test-suite addressbook-test
import: deps
2020-12-10 19:47:11 +02:00
default-language: Haskell2010
2020-12-10 21:24:23 +02:00
default-extensions: OverloadedStrings
LambdaCase
other-modules: Test.Data.Email.Header
2020-12-10 22:22:46 +02:00
, Test.Data.Email
, Test.Data.Trie
2020-12-10 19:47:11 +02:00
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: MyLibTest.hs
build-depends: addressbook
2020-12-10 19:50:26 +02:00
, tasty
, tasty-hedgehog
2020-12-10 21:38:32 +02:00
, tasty-hunit
, HUnit
2020-12-10 19:50:26 +02:00
, hedgehog
2020-12-10 22:22:46 +02:00
, bytestring
2020-12-10 21:24:23 +02:00
, hedgehog-corpus
, text
, vector
2020-12-10 22:22:46 +02:00
, conduit
, conduit-extra
, containers
ghc-options: -Wall
-- I know there's a benchmark type, but haskellPackages.shellFor doesn't seem
-- to support it and I don't have the time to figure it out
executable addressbook-bench
import: deps
default-language: Haskell2010
default-extensions: OverloadedStrings
LambdaCase
-- other-modules: Test.Data.Email.Header
-- , Test.Data.Email
-- , Test.Data.Trie
hs-source-dirs: bench
main-is: Bench.hs
build-depends: addressbook
, criterion
, hedgehog-corpus
, bytestring
, containers
2020-12-11 17:53:34 +02:00
ghc-options: -Wall