-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharon.cabal
299 lines (276 loc) · 7.33 KB
/
charon.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
cabal-version: 2.4
name: charon
version: 0.1
license: MIT
license-file: LICENSE
tested-with: GHC ==9.4.7 || ==9.6.3 || ==9.8.1
copyright: 2022-2023 Thomas Bidne
author: Thomas Bidne
maintainer: [email protected]
homepage: https://github.com/tbidne/charon/
bug-reports: https://github.com/tbidne/charon/issues
synopsis: Template
description: Template
category: Template
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/tbidne/charon
common common-lang
default-extensions:
DataKinds
DefaultSignatures
DeriveAnyClass
DerivingStrategies
DerivingVia
DuplicateRecordFields
LambdaCase
MultiWayIf
NoFieldSelectors
NoImplicitPrelude
OverloadedLabels
OverloadedStrings
PatternSynonyms
StrictData
TypeFamilies
if os(osx)
cpp-options: -DOSX
if os(windows)
cpp-options: -DWINDOWS
library
import: common-lang
other-modules: Paths_charon
autogen-modules: Paths_charon
exposed-modules:
Charon
Charon.Backend.Cbor
Charon.Backend.Cbor.BackendArgs
Charon.Backend.Cbor.PathData
Charon.Backend.Data
Charon.Backend.Default
Charon.Backend.Default.BackendArgs
Charon.Backend.Default.Exception
Charon.Backend.Default.Index
Charon.Backend.Default.Trash
Charon.Backend.Default.Utils
Charon.Backend.Fdo
Charon.Backend.Fdo.BackendArgs
Charon.Backend.Fdo.DirectorySizes
Charon.Backend.Fdo.PathData
Charon.Backend.Fdo.Utils
Charon.Backend.Json
Charon.Backend.Json.BackendArgs
Charon.Backend.Json.PathData
Charon.Backend.Rosetta
Charon.Class.Serial
Charon.Data.Index
Charon.Data.Metadata
Charon.Data.PathData
Charon.Data.PathData.Formatting
Charon.Data.Paths
Charon.Data.PathType
Charon.Data.Timestamp
Charon.Data.UniqueSeq
Charon.Data.UniqueSeq.Internal
Charon.Data.UniqueSeqNE
Charon.Data.UniqueSeqNE.Internal
Charon.Env
Charon.Exception
Charon.Prelude
Charon.Runner
Charon.Runner.Args
Charon.Runner.CharonT
Charon.Runner.Command
Charon.Runner.Command.List
Charon.Runner.Env
Charon.Runner.FileSizeMode
Charon.Runner.Phase
Charon.Runner.Toml
Charon.Utils
build-depends:
, aeson >=2.0 && <2.3
, algebra-simple ^>=0.1
, base >=4.17.0.0 && <4.20
, bytestring >=0.11.1.0 && <0.13
, containers >=0.6.3.1 && <0.8
, deepseq >=1.4.6.0 && <1.6
, effects-async ^>=0.1
, effects-exceptions ^>=0.1
, effects-fs ^>=0.1
, effects-ioref ^>=0.1
, effects-logger-ns ^>=0.1
, effects-optparse ^>=0.1
, effects-terminal ^>=0.1
, effects-time ^>=0.1
, effects-unix-compat ^>=0.1
, filepath >=1.4.2.1 && <1.6
, hashable ^>=1.4.0.2
, mtl >=2.2.1 && <2.4
, nonempty-containers >=0.3.4.2 && <0.4
, optics-core ^>=0.4
, optics-th ^>=0.4
, optparse-applicative >=0.15 && <0.19
, path-size ^>=0.1
, pretty-terminal ^>=0.1.0.0
, serialise ^>=0.2.6.0
, si-bytes ^>=0.1
, text >=1.2.4.0 && <2.2
, text-display >=0.0.3.0 && <0.6
, time >=1.9.3 && <1.14
, toml-reader >=0.2.0.0 && <0.3
, unix-compat >=0.6 && <0.8
, unordered-containers ^>=0.2.14.0
, uri-bytestring ^>=0.3.3.1
, vector >=0.12.3.0 && <0.14
hs-source-dirs: src
default-language: GHC2021
library test-utils
import: common-lang
exposed-modules: Test.Utils
build-depends:
, base
, charon
, effects-fs
, hedgehog
, tasty-hunit
, text
, unordered-containers
hs-source-dirs: lib/test-utils
default-language: GHC2021
executable charon
import: common-lang
default-extensions: ImplicitPrelude
main-is: Main.hs
build-depends:
, base
, charon
, effects-exceptions
hs-source-dirs: app
ghc-options: -threaded -with-rtsopts=-N
default-language: GHC2021
test-suite unit
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Unit.Backend.Cbor.PathData
Unit.Backend.Default.Trash
Unit.Backend.Default.Utils
Unit.Backend.Fdo.PathData
Unit.Backend.Json.PathData
Unit.Data.Index
Unit.Data.UniqueSeq
Unit.Data.UniqueSeqNE
Unit.Prelude
Unit.Runner
Unit.Utils
Utils
build-depends:
, algebra-simple
, base
, charon
, containers
, effects-fs
, effects-logger-ns
, effects-terminal
, filepath
, hedgehog >=1.0.2 && <1.5
, nonempty-containers
, pretty-simple >=4.0.0.0 && <4.2
, random ^>=1.2.1.1
, tasty >=1.1.0.3 && <1.6
, tasty-golden ^>=2.3.1.1
, tasty-hedgehog >=1.2.0.0 && <1.5
, tasty-hunit >=0.9 && <0.11
, test-utils
, text
, time
, unordered-containers
hs-source-dirs: test/unit
ghc-options: -threaded -with-rtsopts=-N
default-language: GHC2021
test-suite integration
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Integration.AsciiOnly
Integration.Charon
Integration.Commands.Delete
Integration.Prelude
Integration.Utils
build-depends:
, base
, charon
, effects-fs
, effects-logger-ns
, effects-terminal
, effects-time
, env-guard ^>=0.2
, hedgehog
, mtl
, nonempty-containers
, tagged ^>=0.8.6
, tasty
, tasty-hedgehog
, tasty-hunit
, test-utils
, text
, time
, unicode-transforms ^>=0.4.0
, unordered-containers
hs-source-dirs: test/integration
default-language: GHC2021
test-suite functional
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Functional.Commands.Convert
Functional.Commands.Delete
Functional.Commands.Empty
Functional.Commands.List
Functional.Commands.Merge
Functional.Commands.Metadata
Functional.Commands.PermDelete
Functional.Commands.Restore
Functional.Prelude
Functional.Prelude.FuncEnv
build-depends:
, algebra-simple
, base
, charon
, effects-fs
, effects-logger-ns
, effects-terminal
, effects-time
, env-guard ^>=0.2
, filepath
, pretty-simple
, tasty
, tasty-hunit
, test-utils
, text
, time
, unordered-containers
hs-source-dirs: test/functional
default-language: GHC2021
benchmark benchmarks
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Benchmarks.Prelude
Benchmarks.ReadIndex
build-depends:
, base
, charon
, effects-fs
, env-guard
, tasty-bench ^>=0.3
, test-utils
ghc-options: -Wno-unused-packages
hs-source-dirs: benchmarks
default-language: GHC2021