-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbit.cabal
More file actions
193 lines (183 loc) · 6.6 KB
/
bit.cabal
File metadata and controls
193 lines (183 loc) · 6.6 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
cabal-version: 2.4
name: bit
version: 0.1.0.0
executable bit
main-is: Bit.hs
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
-Wall
other-modules: Bit.IO.AtomicWrite,
Bit.Commands,
Bit.Help,
Bit.Path,
Bit.IO.Platform,
Bit.IO.Concurrency,
Bit.Core.Conflict,
Bit.IO.ConcurrentIO,
Bit.IO.ConcurrentFileIO,
Bit.Rclone.Progress,
Bit.Device.Identity,
Bit.Device.Prompt,
Bit.IO.Process,
Bit.Progress.Report,
Bit.Utils,
Bit.Domain.Plan,
Bit.Remote,
Bit.Scan.Remote,
Bit.Device.RemoteWorkspace,
Bit.Scan.Local,
Bit.Types,
Bit.Scan.Verify,
Bit.Scan.Fsck,
Bit.Core,
Bit.Core.Helpers,
Bit.Core.Init,
Bit.Git.Passthrough,
Bit.Core.Fetch,
Bit.Rclone.Sync,
Bit.Core.Push,
Bit.Core.Pull,
Bit.Core.RemoteManagement,
Bit.Core.Verify,
Bit.Git.Run,
Bit.Config.Paths,
Bit.Config.File,
Bit.Config.Metadata,
Bit.Rclone.Run,
Bit.CAS,
Bit.CDC.Config,
Bit.CDC.FastCDC,
Bit.CDC.Gear,
Bit.CDC.Manifest,
Bit.CDC.Reassemble,
Bit.CDC.Store,
Bit.CDC.Types,
Bit.Core.Config,
Bit.Core.Import,
Bit.Core.Export,
Bit.Core.Submodule,
Bit.Core.BecomeGit,
Bit.Remote.ChunkIndex
build-depends: base16-bytestring ^>=1.0.2.0,
base,
array,
async,
directory,
uuid ^>=1.3.13,
filepath,
time,
yaml,
bytestring,
cryptohash-sha256,
cryptohash-md5,
aeson,
process,
containers,
transformers,
text,
free,
mtl
if os(windows)
build-depends: Win32 >= 2.6
default-language: Haskell2010
executable bit-git-router
main-is: BitGitRouter.hs
ghc-options: -Wall
build-depends: base, directory, filepath, process
default-language: Haskell2010
executable generate-literate
buildable: False
main-is: GenerateLiterate.hs
hs-source-dirs: scripts
ghc-options: -Wall
build-depends: base, directory, filepath, process, bytestring, text
default-language: Haskell2010
-- cli runs ALL .test files (including gdrive tests that need rclone).
-- It shares output directories with cli-fast, so they MUST NOT run in
-- parallel. Gate behind a manual flag so 'cabal test all' only runs
-- cli-fast + unit suites. Run explicitly: cabal test cli -f full-cli
flag full-cli
description: Build the full CLI test suite (requires gdrive + rclone)
manual: True
default: False
test-suite cli
if !flag(full-cli)
buildable: False
type: exitcode-stdio-1.0
main-is: RunCliTests.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: base, directory, filepath, process
default-language: Haskell2010
test-suite cli-fast
type: exitcode-stdio-1.0
main-is: RunCliTestsFast.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: base, directory, filepath, process
default-language: Haskell2010
test-suite device-prompt
type: exitcode-stdio-1.0
main-is: DevicePromptTests.hs
hs-source-dirs: test, .
other-modules: Bit.Device.Prompt
ghc-options: -Wall
build-depends: base,
directory,
tasty,
tasty-hunit
default-language: Haskell2010
test-suite plan
type: exitcode-stdio-1.0
main-is: PlanSpec.hs
hs-source-dirs: test, .
other-modules: Bit.IO.AtomicWrite,
Bit.Types,
Bit.Domain.Plan,
Bit.Device.Identity,
Bit.Path,
Bit.Remote,
Bit.Git.Run,
Bit.Config.Paths,
Bit.Config.File
ghc-options: -Wall
build-depends: base,
containers,
text,
tasty,
tasty-hunit,
tasty-quickcheck,
QuickCheck,
free,
transformers,
bytestring,
base16-bytestring ^>=1.0.2.0,
cryptohash-md5,
directory,
filepath,
process,
time,
uuid ^>=1.3.13
default-language: Haskell2010
test-suite generate-literate-docs
buildable: False
type: exitcode-stdio-1.0
main-is: GenerateLiterate.hs
hs-source-dirs: scripts
ghc-options: -Wall
build-depends: base, process, directory, filepath, bytestring, text
build-tool-depends: bit:generate-literate
default-language: Haskell2010
test-suite lint-tests
type: exitcode-stdio-1.0
main-is: LintTestFiles.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: base,
directory,
filepath,
tasty,
tasty-hunit
default-language: Haskell2010