summaryrefslogtreecommitdiff
path: root/walint.cabal
diff options
context:
space:
mode:
authorstuebinm2022-02-12 16:59:47 +0100
committerstuebinm2022-02-12 16:59:47 +0100
commit73f374daa24c52292069fb1a9b178fa98173042e (patch)
treee64636cae4adcc37dcdef7d357b0cc68dfde4552 /walint.cabal
parentb953d81fac5326ea2f8bd0080cf9baf2f7c2d0b3 (diff)
server: added (somewhat) sensible logging
it's not very sensible, but at least it exists
Diffstat (limited to 'walint.cabal')
-rw-r--r--walint.cabal49
1 files changed, 23 insertions, 26 deletions
diff --git a/walint.cabal b/walint.cabal
index 397e317..1165a37 100644
--- a/walint.cabal
+++ b/walint.cabal
@@ -57,7 +57,28 @@ library
, witherable
default-language: Haskell2010
-executable server
+executable walint
+ main-is: Main.hs
+ other-modules:
+ Version
+ Paths_walint
+ hs-source-dirs:
+ src
+ ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
+ build-depends:
+ aeson
+ , aeson-pretty
+ , base
+ , bytestring
+ , getopt-generics
+ , mtl
+ , process
+ , template-haskell
+ , text
+ , walint
+ default-language: Haskell2010
+
+executable walint-server
main-is: Main.hs
other-modules:
Handlers
@@ -79,17 +100,14 @@ executable server
, dotgen
, extra
, filepath
- , http-media
- , logging-effect
+ , http-types
, lucid
, microlens
, microlens-th
, mtl
- , process
, servant
, servant-lucid
, servant-server
- , string-conversions
, text
, time
, tomland
@@ -98,24 +116,3 @@ executable server
, walint
, warp
default-language: Haskell2010
-
-executable walint
- main-is: Main.hs
- other-modules:
- Version
- Paths_walint
- hs-source-dirs:
- src
- ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors
- build-depends:
- aeson
- , aeson-pretty
- , base
- , bytestring
- , getopt-generics
- , mtl
- , process
- , template-haskell
- , text
- , walint
- default-language: Haskell2010