]> code.delx.au - offlineimap/blobdiff - OfflineIMAP.cabal
Added first TestParser, genericized some other Test code
[offlineimap] / OfflineIMAP.cabal
index b60187b0c59ef79d4da83b4adcee718c756435db..164e6a52966e034b4d010fc920991bb8934b1d9d 100644 (file)
@@ -50,13 +50,18 @@ 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
 
- If flag(splitBase)
-   Build-Depends: base >= 3, directory, random, process, old-time,
+  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,
                              containers, old-locale, array
- Else
-   Build-Depends: base < 3
 Else
+    Build-Depends: base < 3
 
 
 Executable offlineimap
@@ -66,6 +71,9 @@ Executable offlineimap
       UndecidableInstances
 
 Executable runtests
-  Main-Is: testsrc/runtests.hs
-    Extensions: ExistentialQuantification, OverlappingInstances,
-      UndecidableInstances
+  Build-Depends: HUnit
+  Main-Is: runtests.hs
+  Hs-Source-Dirs: src, testsrc
+  GHC-Options: -O2
+  Build-Depends: QuickCheck
+  Extensions: ExistentialQuantification, FlexibleInstances