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