forked from pikajude/html-entity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
html-entity.cabal
101 lines (93 loc) · 2.24 KB
/
html-entity.cabal
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 13a7e1822b25f4c8140c527689b6f76b06217e86ebdba2bdccf5f3105f532e0f
name: html-entity
version: 0.1.3.1
synopsis: HTML entity decoding and encoding for Text
description: Fast, attoparsec-powered HTML entity decoding and encoding for Text
category: Text
homepage: https://github.com/pikajude/html-entity#readme
bug-reports: https://github.com/pikajude/html-entity/issues
author: Jude Taylor
maintainer: [email protected]
license: BSD3
license-file: LICENSE
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
build-type: Custom
cabal-version: >= 1.24
extra-source-files:
ChangeLog.md
data-files:
data/entities.json
source-repository head
type: git
location: https://github.com/pikajude/html-entity
custom-setup
setup-depends:
Cabal
, base ==4.*
, cabal-doctest >=1 && <1.1
flag tablegen
description: Build the @tablegen@ executable for development use
manual: True
default: False
flag werror
description: Build with -Werror
manual: True
default: False
library
exposed-modules:
Text.HTMLEntity
other-modules:
Text.HTMLEntity.TH
Text.HTMLEntity.Parser
Text.HTMLEntity.Table
Paths_html_entity
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
attoparsec
, base ==4.*
, template-haskell
, text
, unordered-containers
if flag(werror)
ghc-options: -Werror
default-language: Haskell2010
executable tablegen
main-is: Tablegen.hs
other-modules:
Paths_html_entity
hs-source-dirs:
exe
other-extensions: TypeApplications
ghc-options: -Wall
build-depends:
aeson
, base ==4.*
, bytestring
, haskell-src-exts
, text
, unordered-containers
if flag(werror)
ghc-options: -Werror
if !flag(tablegen)
buildable: False
default-language: Haskell2010
test-suite doctest
type: exitcode-stdio-1.0
main-is: doctests.hs
other-modules:
Paths_html_entity
hs-source-dirs:
tests
ghc-options: -Wall
build-depends:
base ==4.*
, doctest
if flag(werror)
ghc-options: -Werror
default-language: Haskell2010