]> git.rkrishnan.org Git - functorrent.git/blobdiff - functorrent.cabal
functorrent.cabal: rename README to README.md
[functorrent.git] / functorrent.cabal
index 0251a3c8910d91bd2cc38d2c7d372ba967817a94..0086a735a3491216ac96aec0405037a51de1223d 100644 (file)
@@ -12,7 +12,7 @@ maintainer:          ram@rkrishnan.org
 -- copyright:
 category:            Network
 build-type:          Simple
-extra-source-files:  README
+extra-source-files:  README.md
 cabal-version:       >=1.18
 
 library
@@ -27,7 +27,7 @@ library
   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,
@@ -37,17 +37,18 @@ library
                        cryptohash,
                        directory,
                        HTTP,
+                       network,
                        network-uri,
                        parsec,
+                       QuickCheck,
                        tasty,
                        tasty-hunit
 
 executable functorrent
   main-is:             Main.hs
-  other-modules:       TestInstances
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
-  ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans -optc-Os
+  ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
   default-language:    Haskell2010
   build-depends:       base,
                        base16-bytestring,
@@ -58,6 +59,7 @@ executable functorrent
                        directory,
                        HTTP,
                        QuickCheck,
+                       network,
                        network-uri,
                        parsec
 
@@ -73,16 +75,9 @@ test-suite functorrent-test
                      containers,
                      directory,
                      doctest,
+                     QuickCheck,
                      tasty,
                      tasty-hunit,
                      QuickCheck,
                      tasty-quickcheck,
                      test-framework-quickcheck2
-
-test-suite functorrent-hlint
-  type:              exitcode-stdio-1.0
-  default-language:  Haskell2010
-  hs-source-dirs:    test
-  main-is:           Hlint.hs
-  build-depends:     base,
-                     hlint