X-Git-Url: https://git.rkrishnan.org/?p=functorrent.git;a=blobdiff_plain;f=functorrent.cabal;h=50bd270cbe3f16027bfed70c303183b9ae89bd58;hp=b663ef9e7ea75f1fb31738ffe17a1f5ff515a2ae;hb=27fccae52521d6b0d0502708d737c3b6eb908941;hpb=220cbc977a252c56eea15f2254c362c0d1ea5bdf diff --git a/functorrent.cabal b/functorrent.cabal index b663ef9..50bd270 100644 --- a/functorrent.cabal +++ b/functorrent.cabal @@ -2,11 +2,11 @@ -- 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: @@ -17,14 +17,21 @@ cabal-version: >=1.18 library exposed-modules: FuncTorrent.Bencode, - FuncTorrent.Fileops, + FuncTorrent.FileSystem, FuncTorrent.Logger, FuncTorrent.Metainfo, FuncTorrent.Network FuncTorrent.Peer, FuncTorrent.PeerMsgs, + FuncTorrent.PieceManager, + FuncTorrent.Server, FuncTorrent.Tracker, - FuncTorrent.Utils + FuncTorrent.Tracker.Http, + FuncTorrent.Tracker.Types, + FuncTorrent.Tracker.Udp, + FuncTorrent.MagnetURI, + FuncTorrent.Utils, + FuncTorrent.Config other-extensions: OverloadedStrings hs-source-dirs: src @@ -43,11 +50,11 @@ library network-uri, parsec, QuickCheck, + random, safe, - tasty, - tasty-hunit + transformers -executable functorrent +executable functorrent-exe main-is: Main.hs other-extensions: OverloadedStrings hs-source-dirs: src/main @@ -65,25 +72,18 @@ executable functorrent mtl, network, network-uri, - parsec, QuickCheck, + random, safe test-suite functorrent-test type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: test - main-is: Test.hs - other-modules: BencodeTests - build-depends: base, - functorrent, - bytestring, - containers, - directory, - doctest, - QuickCheck, - tasty, - tasty-hunit, - QuickCheck, - tasty-quickcheck, - test-framework-quickcheck2 + main-is: Main.hs + other-modules: MagneturiTests + build-depends: base + , bytestring + , functorrent + , hspec + , QuickCheck