-
Notifications
You must be signed in to change notification settings - Fork 77
/
package.yaml
163 lines (163 loc) · 4.43 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
name: pandoc-crossref
version: '0.3.18.0'
synopsis: Pandoc filter for cross-references
description: pandoc-crossref is a pandoc filter for numbering figures, equations,
tables and cross-references to them.
category: Text
author: Nikolay Yakimov
maintainer: [email protected]
license: GPL-2
license-file: LICENSE
github: lierdakil/pandoc-crossref
extra-source-files:
- test/*.inc
- CHANGELOG.md
- licenses/LICENSE.roman-numerals
data-files:
- docs/demo/demo.md
- docs/index.md
- test/m2m/*/*
dependencies:
base: ">=4.11 && <5"
text: ">=1.2.2 && <2.2"
pandoc: ">=3.1.8 && < 3.6"
pandoc-types: ">= 1.23 && < 1.24"
_deps:
containers: &containers { containers: ">=0.1 && <0.7" }
criterion: &criterion { criterion: ">=1.5.9.0 && <1.7" }
data-default: &data-default { data-default: ">=0.4 && <0.8" }
deepseq: &deepseq { deepseq: ">= 1.4 && < 1.6" }
directory: &directory { directory: ">=1 && <1.4" }
filepath: &filepath { filepath: ">=1.1 && <1.6" }
gitrev: &gitrev { gitrev: ">= 1.3.1 && < 1.4" }
hspec: &hspec { hspec: ">=2.4.4 && <3" }
microlens-ghc: µlens-ghc { microlens-ghc: ">=0.4.3.10 && < 0.5.0.0" }
microlens-mtl: µlens-mtl { microlens-mtl: ">=0.2.0.1 && <0.3.0.0" }
microlens-th: µlens-th { microlens-th: ">=0.4.3.10 && < 0.5.0.0" }
microlens: µlens { microlens: ">=0.4.12.0 && <0.5.0.0" }
mtl: &mtl { mtl: ">=1.1 && <2.4" }
open-browser: &open-browser { open-browser: ">= 0.2 && < 0.3" }
optparse-applicative: &optparse-applicative { optparse-applicative: ">= 0.13 && < 0.19" }
syb: &syb { syb: ">=0.4 && <0.8" }
template-haskell: &template-haskell { template-haskell: ">=2.7.0.0 && <3.0.0.0" }
temporary: &temporary { temporary: ">= 1.2 && < 1.4" }
utility-ht: &utility-ht { utility-ht: ">=0.0.11 && <0.1.0" }
##############################################################################
internal-lib-deps: &internal-lib-deps
<<: *containers
<<: *data-default
<<: *directory
<<: *filepath
<<: *microlens
<<: *microlens-ghc
<<: *microlens-mtl
<<: *microlens-th
<<: *mtl
<<: *syb
<<: *template-haskell
<<: *utility-ht
lib-deps: &lib-deps
pandoc-crossref-internal: null
<<: *mtl
exec-deps: &exec-deps
pandoc-crossref: null
<<: *deepseq
<<: *gitrev
<<: *open-browser
<<: *optparse-applicative
<<: *template-haskell
<<: *temporary
test-deps: &test-deps
pandoc-crossref: null
pandoc-crossref-internal: null
<<: *containers
<<: *data-default
<<: *hspec
<<: *microlens
<<: *mtl
test-int-deps: &test-int-deps
pandoc-crossref: null
<<: *directory
<<: *filepath
<<: *hspec
bench-deps: &bench-deps
pandoc-crossref: null
<<: *criterion
library:
source-dirs: lib
ghc-options: -Wall
exposed-modules:
- Text.Pandoc.CrossRef
other-modules: []
dependencies:
<<: *lib-deps
internal-libraries:
pandoc-crossref-internal:
other-modules: []
source-dirs: lib-internal
dependencies:
<<: *internal-lib-deps
flags:
enable_flaky_tests:
description: Some tests rely on specific behaviour of pandoc, which
may change between minor versions. These are still useful indicators for the
developer, but not necessarily indicating there's a problem with the
package itself. Enable if you know what you are doing.
manual: true
default: false
executables:
pandoc-crossref:
main: pandoc-crossref.hs
other-modules:
- ManData
source-dirs: src
ghc-options:
- -Wall
- -threaded
dependencies:
<<: *exec-deps
tests:
test-pandoc-crossref:
when:
- condition: flag(enable_flaky_tests)
cpp-options: -DFLAKY
main: test-pandoc-crossref.hs
other-modules:
- Native
generated-other-modules:
- Paths_pandoc_crossref
source-dirs:
- test
ghc-options:
- -Wall
- -fno-warn-unused-do-bind
- -threaded
dependencies:
<<: *test-deps
test-integrative:
when:
- condition: flag(enable_flaky_tests)
cpp-options: -DFLAKY
main: test-integrative.hs
other-modules: []
source-dirs: test
ghc-options:
- -Wall
- -fno-warn-unused-do-bind
- -threaded
dependencies:
<<: *test-int-deps
build-tools:
- pandoc-cli:pandoc
benchmarks:
simple:
main: bench-simple.hs
other-modules:
Native
source-dirs: test
ghc-options:
- -Wall
- -fno-warn-unused-do-bind
- -threaded
dependencies:
<<: *bench-deps