diff options
Diffstat (limited to 'bittorrent.cabal')
-rw-r--r-- | bittorrent.cabal | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal index 41782605..2f30d848 100644 --- a/bittorrent.cabal +++ b/bittorrent.cabal | |||
@@ -241,6 +241,42 @@ test-suite spec | |||
241 | -- , bittorrent | 241 | -- , bittorrent |
242 | -- ghc-options: -O2 -Wall -fno-warn-orphans | 242 | -- ghc-options: -O2 -Wall -fno-warn-orphans |
243 | 243 | ||
244 | -- Utility to work with torrent files. | ||
245 | executable mktorrent | ||
246 | if !flag(examples) | ||
247 | buildable: False | ||
248 | default-language: Haskell2010 | ||
249 | hs-source-dirs: examples | ||
250 | main-is: MkTorrent.hs | ||
251 | other-modules: Paths_bittorrent | ||
252 | -- , MkTorrent.Amend | ||
253 | -- , MkTorrent.Check | ||
254 | -- , MkTorrent.Create | ||
255 | -- , MkTorrent.Magnet | ||
256 | -- , MkTorrent.Show | ||
257 | build-depends: base == 4.6.* | ||
258 | , lens | ||
259 | , time | ||
260 | |||
261 | , bytestring | ||
262 | |||
263 | , stm | ||
264 | , async | ||
265 | , parallel | ||
266 | |||
267 | , text | ||
268 | , pretty | ||
269 | , pretty-class | ||
270 | , network | ||
271 | , bittorrent | ||
272 | |||
273 | , optparse-applicative | ||
274 | , directory | ||
275 | , filepath | ||
276 | , hslogger | ||
277 | ghc-options: -Wall -threaded | ||
278 | |||
279 | -- Utility to fetch | ||
244 | executable gettorrent | 280 | executable gettorrent |
245 | if !flag(examples) | 281 | if !flag(examples) |
246 | buildable: False | 282 | buildable: False |
@@ -256,6 +292,7 @@ executable gettorrent | |||
256 | , filepath | 292 | , filepath |
257 | , bittorrent | 293 | , bittorrent |
258 | 294 | ||
295 | -- nonfunctioning example of very basic bittorrent client | ||
259 | executable client | 296 | executable client |
260 | if !flag(examples) | 297 | if !flag(examples) |
261 | buildable: False | 298 | buildable: False |