]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
tasty and hunit dependencies are not lib dependencies
[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.1.0.0
6 synopsis:            A Bit-torrent client
7 description:         A bittorrent client
8 license:             GPL-3
9 license-file:        LICENSE
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.Fileops,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Network
24                        FuncTorrent.Peer,
25                        FuncTorrent.PeerMsgs,
26                        FuncTorrent.Tracker,
27                        FuncTorrent.Utils
28
29   other-extensions:    OverloadedStrings
30   hs-source-dirs:      src
31   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
32   default-language:    Haskell2010
33   build-depends:       base,
34                        base16-bytestring,
35                        binary,
36                        bytestring,
37                        containers,
38                        cryptohash,
39                        directory,
40                        HTTP,
41                        mtl,
42                        network,
43                        network-uri,
44                        parsec,
45                        QuickCheck,
46                        safe,
47                        transformers
48
49 executable functorrent
50   main-is:             Main.hs
51   other-extensions:    OverloadedStrings
52   hs-source-dirs:      src/main
53   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
54   default-language:    Haskell2010
55   build-depends:       base,
56                        base16-bytestring,
57                        binary,
58                        bytestring,
59                        containers,
60                        cryptohash,
61                        directory,
62                        functorrent,
63                        HTTP,
64                        mtl,
65                        network,
66                        network-uri,
67                        parsec,
68                        QuickCheck,
69                        safe
70
71 test-suite functorrent-test
72   type:              exitcode-stdio-1.0
73   default-language:  Haskell2010
74   hs-source-dirs:    test
75   main-is:           Test.hs
76   other-modules:     BencodeTests
77   build-depends:     base,
78                      functorrent,
79                      bytestring,
80                      containers,
81                      directory,
82                      doctest,
83                      QuickCheck,
84                      tasty,
85                      tasty-hunit,
86                      QuickCheck,
87                      tasty-quickcheck,
88                      test-framework-quickcheck2