-- copyright:
category: Network
build-type: Simple
-extra-source-files: README
+extra-source-files: README.md
cabal-version: >=1.18
library
FuncTorrent.Bencode,
FuncTorrent.Logger,
FuncTorrent.Metainfo,
+ FuncTorrent.Network
FuncTorrent.Peer,
FuncTorrent.Tracker
other-modules: 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: base,
base16-bytestring,
cryptohash,
directory,
HTTP,
+ mtl,
+ network,
network-uri,
parsec,
+ QuickCheck,
+ safe,
tasty,
tasty-hunit
main-is: Main.hs
other-extensions: OverloadedStrings
hs-source-dirs: src
- ghc-options: -Wall -fwarn-incomplete-patterns -optc-Os
+ ghc-options: -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
default-language: Haskell2010
build-depends: base,
base16-bytestring,
cryptohash,
directory,
HTTP,
+ mtl,
+ network,
network-uri,
- parsec
+ parsec,
+ QuickCheck,
+ 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
-
-test-suite functorrent-hlint
- type: exitcode-stdio-1.0
- default-language: Haskell2010
- hs-source-dirs: test
- main-is: Hlint.hs
- build-depends: base,
- hlint
+ tasty-hunit,
+ QuickCheck,
+ tasty-quickcheck,
+ test-framework-quickcheck2