about summary refs log tree commit diff
path: root/emoji-generic.cabal
blob: e89d15b6b344799c5d5863c6c2671ebd8669e4f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cabal-version:       2.0
name:                emoji-generic
version:             0.2.0.0
synopsis:            A generic Emoji library
-- description:
-- bug-reports:
license:             LGPL-3.0-only
license-file:        LICENSE
author:              sternenseemann
maintainer:          git@lukasepple.de
-- copyright:
category:            Text
build-type:          Simple
extra-source-files:  README.md
                   , CHANGELOG.md
                   , data/*

library
  exposed-modules:     Text.Emoji
                     , Text.Emoji.DataFiles.EmojiTest
                     , Text.Emoji.Types
                     , Text.Emoji.String
                     , Text.Emoji.Text
  -- other-modules:
  -- other-extensions:
  build-depends:       base >=4.13 && <5
                     , text >=1.2 && < 2.1
                     , attoparsec >=0.13.2.0 && < 0.15
                     , file-embed
                     , utf8-light ^>=0.4.2
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite test
  type:                exitcode-stdio-1.0
  main-is:             Main.hs
  hs-source-dirs:      test
  build-depends:       base >=4.13 && <5
                     , emoji-generic
                     , tasty >=1.2.3 && <1.5
                     , tasty-smallcheck ^>=0.8.1
                     , smallcheck >=1.1.5 && <1.4
                     , tasty-hunit ^>=0.10.0.2
                     , attoparsec >=0.13 && < 0.15
                     , text >=1.2 && < 2.1
  default-language:    Haskell2010