summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-12 03:08:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-12 03:08:19 +0200
commitc918dde366a02ed4de26ea0c5e07a153d8f902bb (patch)
treece8a24f997f1981d236bc7abc0227d6b0b997736
parentade33320e5ea201a847bb9ee5522ee58b1cd8cb6 (diff)
downloadphi-c918dde366a02ed4de26ea0c5e07a153d8f902bb.tar
phi-c918dde366a02ed4de26ea0c5e07a153d8f902bb.zip
Correctly divide into library and executable
-rw-r--r--lib/Phi/Panel.hs (renamed from src/Phi/Panel.hs)0
-rw-r--r--lib/Phi/X11.hs (renamed from src/Phi/X11.hs)0
-rw-r--r--phi.cabal12
3 files changed, 6 insertions, 6 deletions
diff --git a/src/Phi/Panel.hs b/lib/Phi/Panel.hs
index 23b022f..23b022f 100644
--- a/src/Phi/Panel.hs
+++ b/lib/Phi/Panel.hs
diff --git a/src/Phi/X11.hs b/lib/Phi/X11.hs
index 06bebfa..06bebfa 100644
--- a/src/Phi/X11.hs
+++ b/lib/Phi/X11.hs
diff --git a/phi.cabal b/phi.cabal
index e82b01e..96a5381 100644
--- a/phi.cabal
+++ b/phi.cabal
@@ -1,4 +1,4 @@
-cabal-version: >= 1.2
+cabal-version: >= 1.8
name: phi
version: 0.1
synopsis: An X panel
@@ -12,10 +12,10 @@ build-type: Simple
library
build-depends: base >= 4, mtl, cairo, X11
- exposed-modules: Phi.Panel
- hs-source-dirs: src
+ exposed-modules: Phi.Panel, Phi.X11
+ hs-source-dirs: lib
executable Phi
- build-depends: base >= 4
- hs-source-dirs: src
- main-is: Phi.hs
+ build-depends: base >= 4, phi
+ hs-source-dirs: src
+ main-is: Phi.hs