]> code.delx.au - offlineimap/blobdiff - OfflineIMAP.cabal
Added tag and test for it. All tests pass.
[offlineimap] / OfflineIMAP.cabal
index b60187b0c59ef79d4da83b4adcee718c756435db..45767918b7268e5523eab9254c78dc1919de10e2 100644 (file)
@@ -50,13 +50,19 @@ 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.Parser.Prim,
+     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 +72,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