]> git.rkrishnan.org Git - functorrent.git/blobdiff - functorrent.cabal
more hlint cleanups
[functorrent.git] / functorrent.cabal
index 2d2db982730d5f14bfe059e3fade923f1a38fa49..3de1ebf53e991ba4e5935056c81839be0a59c5ee 100644 (file)
@@ -2,29 +2,35 @@
 -- 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-modules:       FuncTorrent.Utils
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
   ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
@@ -37,16 +43,19 @@ library
                        cryptohash,
                        directory,
                        HTTP,
+                       mtl,
+                       network,
                        network-uri,
                        parsec,
                        QuickCheck,
-                       tasty,
-                       tasty-hunit
+                       random,
+                       safe,
+                       transformers
 
 executable functorrent
   main-is:             Main.hs
   other-extensions:    OverloadedStrings
-  hs-source-dirs:      src
+  hs-source-dirs:      src/main
   ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
   default-language:    Haskell2010
   build-depends:       base,
@@ -56,10 +65,14 @@ executable functorrent
                        containers,
                        cryptohash,
                        directory,
+                       functorrent,
                        HTTP,
-                       QuickCheck,
+                       mtl,
+                       network,
                        network-uri,
-                       parsec
+                       QuickCheck,
+                       random,
+                       safe
 
 test-suite functorrent-test
   type:              exitcode-stdio-1.0
@@ -73,6 +86,7 @@ test-suite functorrent-test
                      containers,
                      directory,
                      doctest,
+                     QuickCheck,
                      tasty,
                      tasty-hunit,
                      QuickCheck,