forked from pikajude/html-entity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
65 lines (56 loc) · 1.37 KB
/
package.yaml
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
version: 0.1.3.0
synopsis: HTML entity decoding and encoding for Text
description: Fast, attoparsec-powered HTML entity decoding and encoding for Text
license: BSD3
author: Jude Taylor
maintainer: [email protected]
tested-with: GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3
category: Text
extra-source-files: ChangeLog.md
data-files: data/*.json
github: pikajude/html-entity
flags:
tablegen:
description: Build the @tablegen@ executable for development use
default: False
manual: True
werror:
description: Build with -Werror
default: False
manual: True
when:
- condition: "flag(werror)"
ghc-options: -Werror
custom-setup:
dependencies:
- base == 4.*
- Cabal
- cabal-doctest >= 1 && < 1.1
ghc-options: -Wall
dependencies: base == 4.*
library:
exposed-modules: Text.HTMLEntity
source-dirs: src
dependencies:
- attoparsec
- text
- unordered-containers
executables:
tablegen:
main: Tablegen.hs
source-dirs: exe
other-extensions: TypeApplications
dependencies:
- aeson
- bytestring
- haskell-src-exts
- text
- unordered-containers
when:
- condition: "!flag(tablegen)"
buildable: False
tests:
doctest:
main: doctests.hs
source-dirs: tests
dependencies: doctest