summaryrefslogtreecommitdiff
path: root/tirclogv.cabal
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2026-11-08 14:37:43 +0100
committerTom Smeding <tom@tomsmeding.com>2026-11-08 16:09:23 +0100
commitffbde7ba6bc275e7cc8c6b2dcca15ad775bedb9b (patch)
treec346e6b7380109b86bcc917bfa3ca9cfa3861c90 /tirclogv.cabal
parent96fc53b35c1101e23290450c1f15360214ebcd36 (diff)
Use own mustache parser; drop mustache&aeson deps
Diffstat (limited to 'tirclogv.cabal')
-rw-r--r--tirclogv.cabal25
1 files changed, 23 insertions, 2 deletions
diff --git a/tirclogv.cabal b/tirclogv.cabal
index b8bf626..febb925 100644
--- a/tirclogv.cabal
+++ b/tirclogv.cabal
@@ -31,7 +31,6 @@ executable tirclogv
Index
Mmap
Pages
- Pages.TH
Parallel
Spamcheck
Util
@@ -41,6 +40,7 @@ executable tirclogv
base >= 4.20,
escapexml,
mini-http-server,
+ mustache-th,
-- attoparsec,
base16-bytestring,
@@ -51,7 +51,6 @@ executable tirclogv
directory,
filepath,
fsnotify,
- mustache,
text-builder-linear,
random,
template-haskell,
@@ -70,6 +69,28 @@ executable tirclogv
TemplateHaskell
ghc-options: -threaded -rtsopts
+library mustache-th
+ import: common
+ exposed-modules:
+ Mustache.TH
+ Mustache.TH.Parser
+ build-depends:
+ base,
+ escapexml,
+ bytestring, containers, template-haskell, text, text-builder-linear, transformers, vector
+ hs-source-dirs: mustache-th
+
+executable test-mustache-th
+ import: common
+ main-is: Main.hs
+ other-modules:
+ RenderNonTH
+ build-depends:
+ base,
+ mustache-th, escapexml,
+ aeson, containers, directory, filepath, scientific, text, text-builder-linear, transformers, vector, yaml
+ hs-source-dirs: test/mustache-th
+
library escapexml
import: common
exposed-modules: EscapeXML