summaryrefslogtreecommitdiff
path: root/settlr.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'settlr.cabal')
-rw-r--r--settlr.cabal29
1 files changed, 11 insertions, 18 deletions
diff --git a/settlr.cabal b/settlr.cabal
index 29c28b1..4bfdc09 100644
--- a/settlr.cabal
+++ b/settlr.cabal
@@ -7,27 +7,20 @@ build-type: Simple
common warnings
ghc-options: -Wall
-common script
+executable settlr.cgi
import: warnings
- hs-source-dirs: cgi
+ main-is: Main.hs
+ hs-source-dirs: src
build-depends: base ^>=4.20.2.0,
- settlr,
bytestring,
+ mtl,
+ text,
+ exceptions,
cgi,
blaze-html
default-language: Haskell2010
-
-
-library
- import: warnings
- exposed-modules: Settlr.Storage
- hs-source-dirs: lib
- build-depends: base ^>=4.20.2.0,
- bytestring,
- cgi,
- blaze-html
- default-language: Haskell2010
-
-executable index.cgi
- import: script
- main-is: index.hs
+ other-modules: Settlr.Storage,
+ Settlr.Config,
+ Settlr.Routes,
+ Settlr.Views.ErrorNotFound,
+ Settlr.Views.Home