From 0bffdaf882a9ecdae7887ac59223ed489c96dc64 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Sat, 3 Oct 2026 22:52:15 +0200 Subject: routing --- settlr.cabal | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) (limited to 'settlr.cabal') 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 -- cgit v1.3.1