-
Notifications
You must be signed in to change notification settings - Fork 0
/
gander.cabal
147 lines (141 loc) · 5.14 KB
/
gander.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
cabal-version: 3.0
name: gander
version: 0.3.0.0
synopsis: The "Git ANnex DEdupeR"
description: Deduplicates large numbers of files using git-annex
license: LGPL-3.0-only
author: Jeff Johnson
maintainer: jefdaj@protonmail.ch
build-type: Simple
common deps
default-language: Haskell2010
hs-source-dirs: lib
-- TODO which of these are actually needed for efficiency?
-- ghc-options: -Wall -O2
-- cc-options: -static
-- ld-options: -static
build-depends: base,
Glob,
ansi-terminal,
attoparsec,
byteable,
base64-bytestring,
bytestring,
deepseq,
safe-exceptions,
streaming,
streaming-bytestring,
unordered-containers,
hashable,
cryptonite,
hashtables,
-- cryptohash,
directory,
directory-tree,
docopt,
filepath,
massiv,
monad-parallel,
pretty-simple,
process,
split,
store,
text,
th-utilities,
utf8-string,
with-utf8,
system-filepath,
MissingH,
unix
library
import: deps
default-language: Haskell2010
-- exposed-modules: Gander.Cmd,
-- Gander.Cmd.Add,
-- Gander.Cmd.Dedup,
-- Gander.Cmd.Diff,
-- Gander.Cmd.Dupes,
-- Gander.Cmd.Hash,
-- Gander.Cmd.Init,
-- Gander.Cmd.Mv,
-- Gander.Cmd.Rm,
-- Gander.Cmd.Test,
-- Gander.Cmd.Update,
-- Gander.Config,
-- Gander.Run,
-- Gander.Util,
exposed-modules: Data.Gander,
Data.Gander.Delta,
Data.Gander.DupeMap,
Data.Gander.Hash,
Data.Gander.HashLine,
Data.Gander.HashTree,
Data.Gander.HashForest,
Util,
System.Directory.Tree
executable gander
import: deps
default-language: Haskell2010
hs-source-dirs: lib, app
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
main-is: Gander.hs
build-depends: gander,
setlocale
other-modules: Gander.Cmd,
Gander.Cmd.Add,
Gander.Cmd.Dedup,
Gander.Cmd.Diff,
Gander.Cmd.Dupes,
Gander.Cmd.Hash,
Gander.Cmd.Init,
Gander.Cmd.Mv,
Gander.Cmd.Rm,
Gander.Cmd.Test,
Gander.Cmd.Update,
Gander.Config,
Data.Gander,
Data.Gander.Delta,
Data.Gander.DupeMap,
Data.Gander.Hash,
Data.Gander.HashLine,
Data.Gander.HashTree,
Data.Gander.HashForest,
Gander.Run,
Util,
System.Directory.Tree
test-suite gander-test
import: deps
default-language: Haskell2010
hs-source-dirs: lib, app, test
type: exitcode-stdio-1.0
main-is: Test.hs
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends: gander,
HUnit,
QuickCheck,
hspec,
quickcheck-instances,
quickcheck-unicode,
tasty,
tasty-discover,
tasty-hspec,
tasty-hunit,
tasty-quickcheck,
temporary
other-modules: Data.Gander.Hash,
Data.Gander.Delta,
Data.Gander.HashLine,
Data.Gander.HashTree,
Data.Gander.HashForest,
Gander.Config,
System.Directory.Tree,
Util,
CmdTest,
DeltaTest,
DupeSetTest,
HashTest,
HashTreeTest,
HashForestTest,
FileNameTest,
RunTest,
UtilTest