]> git.rkrishnan.org Git - functorrent.git/blob - functorrent.cabal
Move network code to own file
[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                        tasty,
43                        tasty-hunit
44
45 executable functorrent
46   main-is:             Main.hs
47   other-extensions:    OverloadedStrings
48   hs-source-dirs:      src
49   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os
50   default-language:    Haskell2010
51   build-depends:       base,
52                        base16-bytestring,
53                        binary,
54                        bytestring,
55                        containers,
56                        cryptohash,
57                        directory,
58                        HTTP,
59                        network-uri,
60                        parsec
61
62 test-suite functorrent-test
63   type:              exitcode-stdio-1.0
64   default-language:  Haskell2010
65   hs-source-dirs:    test
66   main-is:           Test.hs
67   build-depends:     base,
68                      functorrent,
69                      bytestring,
70                      containers,
71                      directory,
72                      doctest,
73                      tasty,
74                      tasty-hunit
75
76 test-suite functorrent-hlint
77   type:              exitcode-stdio-1.0
78   default-language:  Haskell2010
79   hs-source-dirs:    test
80   main-is:           Hlint.hs
81   build-depends:     base,
82                      hlint