-
Notifications
You must be signed in to change notification settings - Fork 3
/
diagrams-backend-tests.cabal
211 lines (196 loc) · 6.82 KB
/
diagrams-backend-tests.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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
Name: diagrams-backend-tests
Version: 0.3
Synopsis: Backend test framework for diagrams
Description: This package provides a framework for generating
diagrams (for specific back ends) and presenting
them beside known (golden) images.
Homepage: http://projects.haskell.org/diagrams/
License: BSD3
License-file: LICENSE
Author: Andy Gill, Jeffrey Rosenbluth, Brent Yorgey
Maintainer: diagrams-discuss@googlegroups.com
Stability: Experimental
Category: Graphics, Test
Build-type: Simple
Cabal-version: >=1.10
Source-repository head
type: git
location: git://github.com/diagrams/diagrams-backend-tests
Flag all
Description: Test and compare all backends together
Default: False
Manual: True
Executable all-test
if flag (all)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
process,
diagrams-core >= 1.3 && < 1.6,
diagrams-lib >= 1.3 && < 1.5,
diagrams-cairo >= 1.3 && < 1.5,
diagrams-svg >= 1.4 && < 1.5,
diagrams-postscript >= 1.3 && < 1.6,
diagrams-rasterific >= 1.3 && < 1.5,
diagrams-pgf,
bytestring >= 0.9 && < 0.13,
Rasterific >= 0.5 && < 0.8,
JuicyPixels >= 3.1.6 && < 3.4,
vector >= 0.10.10
buildable: True
else
Build-depends: base
buildable: False
main-is: All.hs
other-modules: Diagrams.Compare
Diagrams.Test.Cairo
Diagrams.Test.PGF
Diagrams.Test.Postscript
Diagrams.Test.Rasterific
Diagrams.Test.SVG
Diagrams.Tests
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -fcairo to test the cairo backend
Flag cairo
Description: Test cairo backend
Default: False
Manual: True
Executable cairo-test
if flag(cairo)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
diagrams-core >= 1.3 && < 1.6,
diagrams-lib >= 1.3 && < 1.5,
diagrams-cairo >= 1.3 && < 1.5,
JuicyPixels,
vector >= 0.10.10 && < 0.14
buildable: True
else
Build-depends: base
buildable: False
main-is: Cairo.hs
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -fsvg to test the SVG backend
Flag svg
Description: Test SVG backend
Default: False
Manual: True
Executable svg-test
if flag(svg)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
diagrams-core >= 1.3 && < 1.6,
diagrams-lib >= 1.3 && < 1.5,
diagrams-svg >= 1.3 && < 1.5,
bytestring >= 0.9 && < 0.13,
JuicyPixels,
process >=1.2,
vector >= 0.10.10 && < 0.14
buildable: True
else
Build-depends: base
buildable: False
main-is: SVG.hs
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -frasterific to test the Rasterific backend
Flag rasterific
Description: Test Rasterific backend
Default: False
Manual: True
Executable rasterific-test
if flag(rasterific)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
diagrams-core >= 1.3 && < 1.6,
diagrams-lib >= 1.3 && < 1.5,
diagrams-rasterific >= 1.3 && < 1.5,
Rasterific,
FontyFruity,
bytestring,
JuicyPixels,
vector >= 0.10.10 && < 0.14
buildable: True
else
Build-depends: base
buildable: False
main-is: Rasterific.hs
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -fcanvas to test the canvas backend
Flag canvas
Description: Test HTML5 canvas backend
Default: False
Manual: True
Executable canvas-test
if flag(canvas)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
diagrams-lib >= 1.3 && < 1.5,
diagrams-core >= 1.3 && < 1.6,
diagrams-canvas >= 0.4 && < 0.5
buildable: True
else
Build-depends: base
buildable: False
main-is: Canvas.hs
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -fpostscript to test the postscript backend
Flag postscript
Description: Test postscript backend
Default: False
Manual: True
Executable postscript-test
if flag(postscript)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
process,
diagrams-lib >= 1.3 && < 1.5,
diagrams-core >= 1.3 && < 1.6,
diagrams-postscript >= 1.3 && < 1.5,
JuicyPixels >= 3.1.6 && < 3.4,
vector >= 0.10.10 && < 0.14
buildable: True
else
Build-depends: base
buildable: False
main-is: Postscript.hs
hs-source-dirs: src, tests
default-language: Haskell2010
-- Use cabal configure -fpgf to test the PGF backend
Flag pgf
Description: Test PGF backend
Default: False
Manual: True
Executable pgf-test
if flag(pgf)
Build-depends: base >= 4.2 && < 4.20,
html >= 1.0.1.2 && < 2.0,
directory,
filepath,
process,
vector,
JuicyPixels,
diagrams-core >= 1.3 && < 1.6,
diagrams-lib >= 1.3 && < 1.5,
diagrams-pgf
buildable: True
else
Build-depends: base
buildable: False
main-is: PGF.hs
hs-source-dirs: src, tests
default-language: Haskell2010