X-Git-Url: https://git.rkrishnan.org/?a=blobdiff_plain;f=functorrent.cabal;h=3de1ebf53e991ba4e5935056c81839be0a59c5ee;hb=aa5477676dd98fb07a2afa118c29f98a4885fdc9;hp=ad385087ba6c79e58f5bc1e1b944abaa7d4e23f3;hpb=15ba08045c9aee398a808d7134f2111efae4f711;p=functorrent.git diff --git a/functorrent.cabal b/functorrent.cabal index ad38508..3de1ebf 100644 --- a/functorrent.cabal +++ b/functorrent.cabal @@ -2,70 +2,93 @@ -- see http://haskell.org/cabal/users-guide/ name: functorrent -version: 0.1.0.0 +version: 0.2.0 synopsis: A Bit-torrent client description: A bittorrent client license: GPL-3 -license-file: LICENSE +license-file: COPYING author: Ramakrishnan Muthukrishnan maintainer: ram@rkrishnan.org -- copyright: category: Network build-type: Simple -extra-source-files: README +extra-source-files: README.md cabal-version: >=1.18 library - exposed-modules: FuncTorrent - FuncTorrent.Bencode, + exposed-modules: FuncTorrent.Bencode, + FuncTorrent.FileSystem, FuncTorrent.Logger, FuncTorrent.Metainfo, + FuncTorrent.Network FuncTorrent.Peer, - FuncTorrent.Tracker + FuncTorrent.PeerMsgs, + FuncTorrent.PieceManager, + FuncTorrent.Server, + FuncTorrent.Tracker, + FuncTorrent.Tracker.Http, + FuncTorrent.Tracker.Types, + FuncTorrent.Tracker.Udp, + FuncTorrent.Utils + other-extensions: OverloadedStrings hs-source-dirs: src - ghc-options: -Wall -fwarn-incomplete-patterns + ghc-options: -Wall -fwarn-incomplete-patterns -fno-warn-orphans default-language: Haskell2010 - build-depends: HTTP, - HUnit, - base, + build-depends: base, base16-bytestring, binary, bytestring, containers, cryptohash, - doctest, + directory, + HTTP, + mtl, + network, network-uri, parsec, - tasty, - tasty-hunit + QuickCheck, + random, + safe, + transformers executable functorrent main-is: Main.hs other-extensions: OverloadedStrings - hs-source-dirs: src - ghc-options: -Wall -fwarn-incomplete-patterns + hs-source-dirs: src/main + ghc-options: -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans default-language: Haskell2010 - build-depends: HTTP, - base, + build-depends: base, base16-bytestring, binary, bytestring, containers, cryptohash, - doctest, + directory, + functorrent, + HTTP, + mtl, + network, network-uri, - parsec + QuickCheck, + random, + safe -test-suite lisper-test +test-suite functorrent-test type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: test main-is: Test.hs - build-depends: HUnit, - base, + other-modules: BencodeTests + build-depends: base, + functorrent, bytestring, containers, - functorrent, + directory, + doctest, + QuickCheck, tasty, - tasty-hunit + tasty-hunit, + QuickCheck, + tasty-quickcheck, + test-framework-quickcheck2