]> code.delx.au - offlineimap/commitdiff
Working on it
authorJohn Goerzen <jgoerzen@complete.org>
Wed, 28 May 2008 05:24:59 +0000 (00:24 -0500)
committerJohn Goerzen <jgoerzen@complete.org>
Wed, 28 May 2008 05:24:59 +0000 (00:24 -0500)
OfflineIMAP.cabal
Setup.lhs [new file with mode: 0644]
src/Data/Syncable.hs [new file with mode: 0644]
src/offlineimap.hs [new file with mode: 0644]
testsrc/runtests.hs [new file with mode: 0644]

index b60187b0c59ef79d4da83b4adcee718c756435db..51566e37bc6ab164fe6a7c33321c2f9b8628dc08 100644 (file)
@@ -52,16 +52,19 @@ Library
     HDBC>=1.1.0, mtl, base, hslogger,
     ConfigFile, filepath, directory, process
 
- If flag(splitBase)
-   Build-Depends: base >= 3, directory, random, process, old-time,
+  Exposed-Modules: Data.Syncable
+
+  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
   Main-Is: src/offlineimap.hs
   GHC-Options: -O2
+
   Extensions: ExistentialQuantification, OverlappingInstances,
       UndecidableInstances
 
diff --git a/Setup.lhs b/Setup.lhs
new file mode 100644 (file)
index 0000000..9f3d8c1
--- /dev/null
+++ b/Setup.lhs
@@ -0,0 +1,7 @@
+#!/usr/bin/env runhugs
+arch-tag: Main setup script
+
+> import Distribution.Simple
+
+> main = defaultMain
+
diff --git a/src/Data/Syncable.hs b/src/Data/Syncable.hs
new file mode 100644 (file)
index 0000000..ccf9b77
--- /dev/null
@@ -0,0 +1,21 @@
+{- offlineimap component
+Copyright (C) 2002-2008 John Goerzen <jgoerzen@complete.org>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+-}
+
+module Data.Syncable where
+
+main = putStrLn "fake"
diff --git a/src/offlineimap.hs b/src/offlineimap.hs
new file mode 100644 (file)
index 0000000..5c00f5c
--- /dev/null
@@ -0,0 +1,19 @@
+{- offlineimap component
+Copyright (C) 2002-2008 John Goerzen <jgoerzen@complete.org>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+-}
+
+main = putStrLn "fake"
diff --git a/testsrc/runtests.hs b/testsrc/runtests.hs
new file mode 100644 (file)
index 0000000..c15d168
--- /dev/null
@@ -0,0 +1,26 @@
+{-
+Copyright (C) 2002-2008 John Goerzen <jgoerzen@complete.org>
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+-}
+
+module Main where 
+
+import Test.HUnit
+# import Tests
+
+#main = runTestTT tests
+main = putStrLn "fake"
+