]> code.delx.au - offlineimap/blobdiff - OfflineIMAP.cabal
Cleaned up infrastructure for calling tests
[offlineimap] / OfflineIMAP.cabal
index 5ee0f000f12415dfd4f8c62502265c8e00d2681d..164e6a52966e034b4d010fc920991bb8934b1d9d 100644 (file)
@@ -50,9 +50,12 @@ Library
 
   Build-Depends: haskell98, network, unix, parsec, MissingH>=1.0.0,
     HDBC>=1.1.0, mtl, base, hslogger,
-    ConfigFile, filepath, directory, process
+    ConfigFile, filepath, directory, process, regex-posix
 
-  Exposed-Modules: Data.Syncable
+  Exposed-Modules: Data.Syncable,
+     Network.IMAP.Types,
+     Network.IMAP.Parser,
+     Network.IMAP.Connection
 
   If flag(splitBase)
     Build-Depends: base >= 3, directory, random, process, old-time,
@@ -69,7 +72,8 @@ Executable offlineimap
 
 Executable runtests
   Build-Depends: HUnit
-  Main-Is: testsrc/runtests.hs
+  Main-Is: runtests.hs
+  Hs-Source-Dirs: src, testsrc
   GHC-Options: -O2
-  Extensions: ExistentialQuantification, OverlappingInstances,
-      UndecidableInstances
+  Build-Depends: QuickCheck
+  Extensions: ExistentialQuantification, FlexibleInstances