-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpacer.cabal
281 lines (256 loc) · 7.58 KB
/
pacer.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
cabal-version: 2.4
name: pacer
version: 0.1
license: MIT
license-file: LICENSE
tested-with: GHC ==9.10.1 || ==9.12.1
copyright: 2024-2025 Thomas Bidne
author: Thomas Bidne
maintainer: [email protected]
homepage: https://github.com/tbidne/pacer/
bug-reports: https://github.com/tbidne/pacer/issues
synopsis: A tool for runners.
description:
Pacer is an executable that produces graphs based on user running data.
It also provides a CLI interface for common running calculations e.g.
deriving a pace from distance and duration.
category: Graphics
extra-source-files:
cabal.project
examples/*.csv
examples/*.jsonc
examples/chart.png
LICENSE
README.md
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/tbidne/pacer
common common-lang
default-extensions:
ApplicativeDo
DeriveAnyClass
DerivingVia
DuplicateRecordFields
LexicalNegation
MultiWayIf
NoImplicitPrelude
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
RequiredTypeArguments
StrictData
TypeAbstractions
TypeFamilyDependencies
if os(windows)
cpp-options: -DWINDOWS
elif os(osx)
cpp-options: -DOSX -DPOSIX
else
cpp-options: -DLINUX -DPOSIX
default-language: GHC2024
library
import: common-lang
other-modules: Paths_pacer
autogen-modules: Paths_pacer
exposed-modules:
Pacer.Class.FromAlt
Pacer.Class.Parser
Pacer.Class.Units
Pacer.Command
Pacer.Command.Chart
Pacer.Command.Chart.Args
Pacer.Command.Chart.Data.Chart
Pacer.Command.Chart.Data.ChartData
Pacer.Command.Chart.Data.ChartExtra
Pacer.Command.Chart.Data.ChartOptions
Pacer.Command.Chart.Data.ChartRequest
Pacer.Command.Chart.Data.Expr
Pacer.Command.Chart.Data.Garmin
Pacer.Command.Chart.Data.Run
Pacer.Command.Chart.Data.RunLabel
Pacer.Command.Chart.Data.Time
Pacer.Command.Chart.Params
Pacer.Command.Convert
Pacer.Command.Convert.Args
Pacer.Command.Convert.Params
Pacer.Command.Derive
Pacer.Command.Derive.Args
Pacer.Command.Derive.Params
Pacer.Command.Scale
Pacer.Command.Scale.Args
Pacer.Command.Scale.Params
Pacer.Configuration.Args
Pacer.Configuration.Config
Pacer.Configuration.Env
Pacer.Configuration.Env.Types
Pacer.Configuration.Logging
Pacer.Configuration.Phase
Pacer.Configuration.Utils
Pacer.Data.Distance
Pacer.Data.Distance.Units
Pacer.Data.Duration
Pacer.Data.Pace
Pacer.Data.Result
Pacer.Driver
Pacer.Exception
Pacer.Prelude
Pacer.Utils
Pacer.Web
Pacer.Web.Paths
Pacer.Web.Utils
build-depends:
, aeson >=2.0 && <2.3
, aeson-pretty ^>=0.8.9
, algebra-simple ^>=0.1
, base >=4.20.0.0 && <4.22
, bytestring >=0.10.12 && <0.13
, cassava ^>=0.5.3.2
, containers >=0.6.3.1 && <0.8
, deepseq >=1.4.6.0 && <1.6
, effectful ^>=2.5.0.0
, effectful-utils ^>=0.1
, exception-utils ^>=0.1
, exceptions ^>=0.10.4
, filepath >=1.5 && <1.6
, fs-effectful ^>=0.1
, fs-utils ^>=0.1
, ghc-experimental >=0.1.0.0 && <9.1202
, hashable >=1.4.7.0 && <1.6
, ioref-effectful ^>=0.1
, logger-effectful ^>=0.1
, logger-ns-effectful ^>=0.1
, megaparsec ^>=9.7.0
, nonempty-containers >=0.3.4.2 && <0.4
, optics-core ^>=0.4
, optics-th ^>=0.4
, optparse-applicative >=0.15 && <0.19
, optparse-effectful ^>=0.1
, parser-combinators ^>=1.3.0
, path ^>=0.9.6
, relative-time ^>=0.1
, singletons ^>=3.0.3
, smart-math ^>=0.1
, template-haskell >=2.21 && <2.24
, terminal-effectful ^>=0.1
, text >=1.2.3.2 && <2.2
, text-display >=0.0.3.0 && <1.1
, time >=1.9.3 && <1.15
, time-effectful ^>=0.1
, typed-process-dynamic-effectful ^>=0.1
, unordered-containers ^>=0.2.20
hs-source-dirs: src
executable pacer
import: common-lang
main-is: Main.hs
build-depends:
, base
, exception-utils
, pacer
hs-source-dirs: app
ghc-options: -threaded -with-rtsopts=-N
test-suite unit
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Unit.Pacer.Class.Parser
Unit.Pacer.Command.Chart
Unit.Pacer.Command.Chart.Data.ChartRequest
Unit.Pacer.Command.Chart.Data.Expr
Unit.Pacer.Command.Chart.Data.Garmin
Unit.Pacer.Command.Chart.Data.Run
Unit.Pacer.Command.Chart.Data.RunLabel
Unit.Pacer.Command.Chart.Data.Time
Unit.Pacer.Command.Chart.Params
Unit.Pacer.Command.Derive
Unit.Pacer.Data.Distance
Unit.Pacer.Data.Distance.Units
Unit.Pacer.Data.Duration
Unit.Pacer.Data.Pace
Unit.Pacer.Utils
Unit.Prelude
Unit.TestUtils
build-depends:
, aeson
, base
, bytestring
, containers
, filepath
, fs-effectful
, fs-utils
, hedgehog >=1.0.2 && <1.6
, logger-effectful
, nonempty-containers
, pacer
, pretty-simple ^>=4.1.2.0
, tasty >=1.1.0.3 && <1.6
, tasty-golden ^>=2.3.1.1
, tasty-hedgehog >=1.0.0.2 && <1.5
, tasty-hunit >=0.9 && <0.11
, terminal-effectful
, text
, time
, typed-process-dynamic-effectful
, tz ^>=0.1.3.3
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.Pacer.Command.Chart
Functional.Pacer.Command.Convert
Functional.Pacer.Command.Derive
Functional.Pacer.Command.Scale
Functional.Prelude
build-depends:
, base
, containers
, env-guard ^>=0.2
, filepath
, fs-effectful
, fs-utils
, hedgehog
, pacer
, tasty
, tasty-golden
, tasty-hedgehog
, tasty-hunit
, terminal-effectful
, text
hs-source-dirs: test/functional
ghc-options: -threaded
library bench-utils
import: common-lang
exposed-modules: Bench.Pacer.Utils
build-depends:
, base
, bytestring
, pacer
, time
hs-source-dirs: bench/utils
test-suite bench-fit
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, bench-utils
, pacer
, tasty
, tasty-bench-fit ^>=0.1
, tasty-hunit
hs-source-dirs: bench/fit
benchmark benchmarks
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, bench-utils
, pacer
, tasty-bench >=0.3 && <0.5
hs-source-dirs: bench/app