-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpath-size.cabal
More file actions
240 lines (208 loc) · 5.27 KB
/
path-size.cabal
File metadata and controls
240 lines (208 loc) · 5.27 KB
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
cabal-version: 2.4
name: path-size
version: 0.1
license: MIT
license-file: LICENSE
tested-with:
GHC ==9.2.8
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.2
|| ==9.12.2
copyright: 2022-2025 Thomas Bidne
author: Thomas Bidne
maintainer: tbidne@protonmail.com
homepage: https://github.com/tbidne/path-size/
bug-reports: https://github.com/tbidne/path-size/issues
synopsis: Utility for reporting file-system sizes.
description: Path-size finds large files on the file-system.
category: CLI
extra-source-files: README.md
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/tbidne/path-size
common common-lang
default-extensions:
ApplicativeDo
DataKinds
DeriveAnyClass
DerivingStrategies
DerivingVia
DuplicateRecordFields
LambdaCase
MagicHash
MultiWayIf
NamedFieldPuns
NoFieldSelectors
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
TypeFamilies
UnboxedTuples
if os(windows)
cpp-options: -DWINDOWS
elif os(osx)
cpp-options: -DOSX -DPOSIX
else
cpp-options: -DLINUX -DPOSIX
default-language: GHC2021
library
import: common-lang
exposed-modules:
PathSize
PathSize.Data.Config
PathSize.Data.PathData
PathSize.Data.PathSizeResult
PathSize.Data.PathTree
PathSize.Data.SubPathData
PathSize.Data.SubPathData.Internal
PathSize.Exception
PathSize.Utils
build-depends:
, base >=4.16.0.0 && <4.22
, containers >=0.6.3.1 && <0.9
, deepseq >=1.4.4.0 && <1.6
, effects-async ^>=0.1
, effects-fs ^>=0.1
, exception-utils ^>=0.1
, exceptions ^>=0.10.4
, filepath >=1.5.2.0 && <1.6
, Glob ^>=0.10.2
, nonempty-containers >=0.3.4.2 && <0.4
, optics-core ^>=0.4
, si-bytes ^>=0.1
, smart-math ^>=0.1
, text >=1.2.3.2 && <2.2
, text-builder-linear ^>=0.1
, unicode-grapheme ^>=0.1
, unix-compat >=0.6 && <0.8
if !os(windows)
build-depends:
, bytestring >=0.10.12.0 && <0.13
, effects-unix ^>=0.1
, os-string ^>=2.0.0
else
build-depends: effects-unix-compat ^>=0.1
hs-source-dirs: src
executable path-size
import: common-lang
main-is: Main.hs
other-modules:
Args
Args.TH
Paths_path_size
autogen-modules: Paths_path_size
build-depends:
, base
, effects-optparse ^>=0.1
, fs-utils ^>=0.1
, gitrev-typed ^>=0.1
, Glob
, optparse-applicative ^>=0.19
, os-string
, path-size
, smart-math
, template-haskell >=2.17.0.0 && <2.24
, text
, time >=1.9.3 && <1.16
hs-source-dirs: app
ghc-options: -threaded -with-rtsopts=-N
executable profile-utils
import: common-lang
main-is: Main.hs
build-depends:
, base
, bench-common
, fs-utils ^>=0.1
hs-source-dirs: profiling/utils
executable profile
import: common-lang
main-is: Main.hs
build-depends:
, base
, deepseq
, fs-utils ^>=0.1
, nonempty-containers
, path-size
hs-source-dirs: profiling/app
test-suite unit
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Unit.PathSize.Utils
build-depends:
, base
, fs-utils
, hedgehog >=1.0.2 && <1.8
, path-size
, tasty >=1.1.0.3 && <1.6
, tasty-hedgehog >=1.2.0.0 && <1.5
hs-source-dirs: test/unit
ghc-options: -threaded -with-rtsopts=-N
test-suite functional
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Functional.PathSize
GoldenParams
build-depends:
, base
, effects-async
, effects-fs
, env-guard ^>=0.2
, exception-utils
, exceptions
, Glob
, nonempty-containers
, path-size
, tasty
, tasty-golden ^>=2.3.1.1
, text
if !os(windows)
build-depends:
, effects-unix
, os-string
else
build-depends: effects-unix-compat
hs-source-dirs: test/functional
ghc-options: -threaded -with-rtsopts=-N
library bench-common
import: common-lang
exposed-modules: PathSize.Bench.Common
build-depends:
, base
, deepseq
, effects-fs
, env-guard ^>=0.2
, exceptions
, nonempty-containers
, path-size
, smart-math
hs-source-dirs: bench/common
benchmark bench-criterion
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, bench-common
, criterion ^>=1.6.0.0
, fs-utils
, path-size
hs-source-dirs: bench/criterion
ghc-options: -threaded -with-rtsopts=-N
benchmark bench-tasty
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, bench-common
, fs-utils
, path-size
, tasty-bench >=0.3 && <0.5
hs-source-dirs: bench/tasty