]> git.rkrishnan.org Git - functorrent.git/blobdiff - functorrent.cabal
Move Arbitrary instances into another module
[functorrent.git] / functorrent.cabal
index 6bfb1c88ae1a2fca59b099fe78d71465fbfe34d5..0251a3c8910d91bd2cc38d2c7d372ba967817a94 100644 (file)
@@ -44,9 +44,10 @@ library
 
 executable functorrent
   main-is:             Main.hs
+  other-modules:       TestInstances
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
-  ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os
+  ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans -optc-Os
   default-language:    Haskell2010
   build-depends:       base,
                        base16-bytestring,
@@ -56,6 +57,7 @@ executable functorrent
                        cryptohash,
                        directory,
                        HTTP,
+                       QuickCheck,
                        network-uri,
                        parsec
 
@@ -64,6 +66,7 @@ test-suite functorrent-test
   default-language:  Haskell2010
   hs-source-dirs:    test
   main-is:           Test.hs
+  other-modules:     BencodeTests
   build-depends:     base,
                      functorrent,
                      bytestring,
@@ -71,7 +74,10 @@ test-suite functorrent-test
                      directory,
                      doctest,
                      tasty,
-                     tasty-hunit
+                     tasty-hunit,
+                     QuickCheck,
+                     tasty-quickcheck,
+                     test-framework-quickcheck2
 
 test-suite functorrent-hlint
   type:              exitcode-stdio-1.0