]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
run bencode tests as well
[functorrent.git] / functorrent.cabal
1 -- Initial functorrent.cabal generated by cabal init. For further documentation,
2 -- see http://haskell.org/cabal/users-guide/
3
4 name:                functorrent
5 version:             0.2.0
6 synopsis:            A Bit-torrent client
7 description:         A bittorrent client
8 license:             GPL-3
9 license-file:        COPYING
10 author:              Ramakrishnan Muthukrishnan
11 maintainer:          ram@rkrishnan.org
12 -- copyright:
13 category:            Network
14 build-type:          Simple
15 extra-source-files:  README.md
16 cabal-version:       >=1.18
17
18 library
19   exposed-modules:     FuncTorrent.Bencode,
20                        FuncTorrent.FileSystem,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Network
24                        FuncTorrent.Peer,
25                        FuncTorrent.PeerMsgs,
26                        FuncTorrent.PieceManager,
27                        FuncTorrent.Server,
28                        FuncTorrent.Tracker,
29                        FuncTorrent.Tracker.Http,
30                        FuncTorrent.Tracker.Types,
31                        FuncTorrent.Tracker.Udp,
32                        FuncTorrent.MagnetURI,
33                        FuncTorrent.Utils
34
35   other-extensions:    OverloadedStrings
36   hs-source-dirs:      src
37   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
38   default-language:    Haskell2010
39   build-depends:       base,
40                        base16-bytestring,
41                        binary,
42                        bytestring,
43                        containers,
44                        cryptohash,
45                        directory,
46                        HTTP,
47                        mtl,
48                        network,
49                        network-uri,
50                        parsec,
51                        QuickCheck,
52                        random,
53                        safe,
54                        transformers
55
56 executable functorrent-exe
57   main-is:             Main.hs
58   other-extensions:    OverloadedStrings
59   hs-source-dirs:      src/main
60   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
61   default-language:    Haskell2010
62   build-depends:       base,
63                        base16-bytestring,
64                        binary,
65                        bytestring,
66                        containers,
67                        cryptohash,
68                        directory,
69                        functorrent,
70                        HTTP,
71                        mtl,
72                        network,
73                        network-uri,
74                        QuickCheck,
75                        random,
76                        safe
77
78 test-suite functorrent-test
79   type:              exitcode-stdio-1.0
80   default-language:  Haskell2010
81   hs-source-dirs:    test
82   main-is:           Main.hs
83   other-modules:     MagneturiTests
84   build-depends:     base
85                    , bytestring
86                    , functorrent
87                    , hspec
88                    , QuickCheck