-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathhs-conllu.cabal
78 lines (72 loc) · 2.72 KB
/
hs-conllu.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
cabal-version: 2.4
name: hs-conllu
version: 0.1.5
synopsis: Conllu validating parser and utils.
description: utilities to parse, print, diff, and analyse data in CoNLL-U format.
homepage: https://github.com/odanoburu/hs-conllu
bug-reports: https://github.com/odanoburu/hs-conllu/issues
license: LGPL-3.0-only
license-file: LICENSE
author: bruno cuconato
maintainer: bruno cuconato <bcclaro+haskell+hsconllu@gmail.com>
copyright: 2021 bruno cuconato
build-type: Simple
extra-doc-files: README
CHANGELOG
tested-with: GHC == 8.8.3
source-repository head
type: git
location: https://github.com/odanoburu/hs-conllu.git
common common-options
build-depends: base >=4.9 && <5,
containers == 0.6.*,
directory ==1.3.*,
filepath ==1.4.*,
megaparsec ==9.*,
void <1
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
default-extensions: DisambiguateRecordFields, DerivingStrategies,
DuplicateRecordFields,
NamedFieldPuns, OverloadedStrings, RecordWildCards,
TupleSections, ScopedTypeVariables
library
import: common-options
hs-source-dirs: src
exposed-modules: Conllu.Type,
Conllu.UposTagset,
Conllu.DeprelTagset,
Conllu.IO,
Conllu.Parse,
Conllu.Diff,
Conllu.Utils,
Conllu.Print
executable hs-conllu
import: common-options
hs-source-dirs: src
main-is: Main.hs
build-depends: hs-conllu
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N
other-modules: Conllu.DeprelTagset,
Conllu.Diff,
Conllu.IO,
Conllu.Parse,
Conllu.Print,
Conllu.Type,
Conllu.UposTagset,
Conllu.Utils