]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
add QuickCheck test to the test suite.
[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
16 cabal-version:       >=1.18
17
18 library
19   exposed-modules:     FuncTorrent
20                        FuncTorrent.Bencode,
21                        FuncTorrent.Logger,
22                        FuncTorrent.Metainfo,
23                        FuncTorrent.Network
24                        FuncTorrent.Peer,
25                        FuncTorrent.Tracker
26
27   other-modules:       FuncTorrent.Utils
28   other-extensions:    OverloadedStrings
29   hs-source-dirs:      src
30   ghc-options:         -Wall -fwarn-incomplete-patterns
31   default-language:    Haskell2010
32   build-depends:       base,
33                        base16-bytestring,
34                        binary,
35                        bytestring,
36                        containers,
37                        cryptohash,
38                        directory,
39                        HTTP,
40                        network-uri,
41                        parsec,
42                        QuickCheck,
43                        tasty,
44                        tasty-hunit
45
46 executable functorrent
47   main-is:             Main.hs
48   other-extensions:    OverloadedStrings
49   hs-source-dirs:      src
50   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os
51   default-language:    Haskell2010
52   build-depends:       base,
53                        base16-bytestring,
54                        binary,
55                        bytestring,
56                        containers,
57                        cryptohash,
58                        directory,
59                        HTTP,
60                        QuickCheck,
61                        network-uri,
62                        parsec
63
64 test-suite functorrent-test
65   type:              exitcode-stdio-1.0
66   default-language:  Haskell2010
67   hs-source-dirs:    test
68   main-is:           Test.hs
69   build-depends:     base,
70                      functorrent,
71                      bytestring,
72                      containers,
73                      directory,
74                      doctest,
75                      tasty,
76                      tasty-hunit,
77                      QuickCheck,
78                      tasty-quickcheck,
79                      test-framework-quickcheck2
80
81 test-suite functorrent-hlint
82   type:              exitcode-stdio-1.0
83   default-language:  Haskell2010
84   hs-source-dirs:    test
85   main-is:           Hlint.hs
86   build-depends:     base,
87                      hlint