-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
146 lines (136 loc) · 2.63 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
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
name: bigtrees
description: Performant hash trees to dedup large collections of files.
version: 0.13.0.0
author: jefdaj
maintainer: [email protected]
copyright: "AGPL-3.0-only"
# TODO separate them out again?
dependencies:
- aeson
- aeson-pretty
- attoparsec
- base
- base64-bytestring
- bytestring
- case-insensitive
- crypton
- deepseq
- directory
- directory-tree
- docopt
# - doctest-parallel
- file-io
- filepath
- filepath-bytestring
- knob
- hashable
- hashtables
- HUnit
- massiv
- MissingH
- monad-parallel
- os-string
- pretty-simple
- process
- QuickCheck
- quickcheck-instances
- quickcheck-unicode
- regex-tdfa
- safe-exceptions
- setlocale
- silently
- split
- streaming
- streaming-bytestring
- system-filepath
- tasty
- tasty-bench
- tasty-discover
- tasty-golden
- tasty-hspec
- tasty-hunit
- tasty-quickcheck
- temporary
- text
- th-utilities
- time
- unbounded-delays
- unix
- unix-compat
- unordered-containers
- utf8-string
# TODO which are really needed/helpful for which targets?
ghc-options:
- "-O2"
- "-threaded"
- "-rtsopts"
- "-with-rtsopts=-N"
- "-fwrite-ide-info"
- "-hiedir=.hie"
- "-Wall"
- "-Wcompat"
- "-Widentities"
- "-Wincomplete-uni-patterns"
- "-Wincomplete-record-updates"
- "-Wredundant-constraints"
- "-Wmissing-export-lists"
- "-Wpartial-fields"
- "-Wmissing-deriving-strategies"
- "-Wunused-packages"
library:
source-dirs: lib
exposed-modules:
- System.Directory.BigTrees
- System.Directory.BigTrees.DupeMap
- System.Directory.BigTrees.HashTree
- System.Directory.BigTrees.HashSet
- System.Directory.BigTrees.HeadFoot
- System.Directory.BigTrees.HashLine
- System.Directory.BigTrees.Name
- System.Directory.BigTrees.Util
- System.Directory.BigTrees.Hash
- System.Directory.BigTrees.Delta
executable:
main: Main.hs
source-dirs: app
dependencies:
- bigtrees
tests:
test-lib:
main: "Test.hs"
source-dirs:
- "lib"
- "test/lib"
dependencies:
- bigtrees
test-app:
main: "Test.hs"
source-dirs:
- "app"
- "test/app"
dependencies:
- bigtrees
# TODO get doctest-parallel to compile and/or figure out why it wasn't working before
# test-doctests:
# main: "doctest.hs"
# source-dirs:
# - "app"
# - "lib"
# - "test/doc"
# dependencies:
# - bigtrees
benchmarks:
test-bench:
main: "Bench.hs"
source-dirs:
- "lib"
- "app"
- "test/bench"
dependencies:
- bigtrees
ghc-options:
- "-with-rtsopts=-T"
- "-fproc-alignment=64"
# TODO how to get it to recognize these?
# benchmark-arguments:
# - "--csv test/bench/bench.csv"