-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
88 lines (80 loc) · 1.71 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
name: timetracker
version: 0.2.0.2
github: ChrisCoffey/track
license: MIT
author: "Chris Coffey"
maintainer: "[email protected]"
copyright: "2018 Chris Coffey"
extra-source-files:
- README.md
- ChangeLog.md
description: Please see the README on GitHub at <https://github.com/ChrisCoffey/track#readme>
dependencies:
- aeson
- aeson-pretty
- base >= 4.7 && < 5
- bytestring >= 0.10.8 && < 0.11
- cereal
- containers >= 0.5.11
- mtl >= 2.2 && < 2.3
- optparse-applicative >= 0.14 && < 0.15
- parsec
- text >= 1.2
- time
- transformers
default-extensions:
MultiParamTypeClasses
OverloadedStrings
FlexibleContexts
FlexibleInstances
NamedFieldPuns
TupleSections
DeriveGeneric
DeriveAnyClass
FunctionalDependencies
TypeApplications
UndecidableInstances
GADTs
ConstraintKinds
# This tells clang not to print an ugly warning because we use a macro-generated module
ghc-options: ["-optP-Wno-nonportable-include-path"]
library:
source-dirs: src
exposed-modules:
- Core
- Commands
- Management
- Reports
- Storage
- Tracking
- Evaluator
executables:
track:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- timetracker
- directory
tests:
timetracker-test:
main: Spec.hs
source-dirs:
- test
- app
other-modules:
- Tests.Evaluator
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- timetracker
- tasty
- tasty-quickcheck
- QuickCheck
- tasty-hunit
- HUnit