about summary refs log tree commit diff
path: root/xanthous.cabal
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-24T15·14-0400
committerGriffin Smith <root@gws.fyi>2020-05-24T15·14-0400
commit2c86856ca7784483a7cdd438763b2693a297908a (patch)
treeb11575c52247b2c2fe0ef4b1a2e0f5da233b0df9 /xanthous.cabal
parent15b4f0e6a73987f9afbc46f46862b5120029e715 (diff)
Add a new template system
Add a parser, pretty-printer, and renderer for a new template system,
which should eventually be a drop-in replacement for the current
mustache-based template system, but also supports text filters (which
will be used for things like pluralization and noun casing). Nothing
currently uses it yet, though.
Diffstat (limited to 'xanthous.cabal')
-rw-r--r--xanthous.cabal8
1 files changed, 7 insertions, 1 deletions
diff --git a/xanthous.cabal b/xanthous.cabal
index 85b70c97f755..3c635a863020 100644
--- a/xanthous.cabal
+++ b/xanthous.cabal
@@ -4,7 +4,7 @@ cabal-version: 1.12
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 61744d8e26bf309ee73e128a90af8badee98aedace39a756b6033f51711d3e2e
+-- hash: 4c80448c82dc61f97ea9809ad646f7ad66b0f57ca297e4d44ee596c7a1ef42fe
 
 name:           xanthous
 version:        0.1.0.0
@@ -67,6 +67,7 @@ library
       Xanthous.Generators.LevelContents
       Xanthous.Generators.Util
       Xanthous.Messages
+      Xanthous.Messages.Template
       Xanthous.Monad
       Xanthous.Orphans
       Xanthous.Prelude
@@ -122,6 +123,7 @@ library
     , monad-control
     , mtl
     , optparse-applicative
+    , parser-combinators
     , pointed
     , quickcheck-instances
     , quickcheck-text
@@ -184,6 +186,7 @@ executable xanthous
       Xanthous.Generators.LevelContents
       Xanthous.Generators.Util
       Xanthous.Messages
+      Xanthous.Messages.Template
       Xanthous.Monad
       Xanthous.Orphans
       Xanthous.Prelude
@@ -238,6 +241,7 @@ executable xanthous
     , monad-control
     , mtl
     , optparse-applicative
+    , parser-combinators
     , pointed
     , quickcheck-instances
     , quickcheck-text
@@ -274,6 +278,7 @@ test-suite test
       Xanthous.Entities.RawsSpec
       Xanthous.GameSpec
       Xanthous.Generators.UtilSpec
+      Xanthous.Messages.TemplateSpec
       Xanthous.MessageSpec
       Xanthous.OrphansSpec
       Xanthous.Util.GraphicsSpec
@@ -323,6 +328,7 @@ test-suite test
     , monad-control
     , mtl
     , optparse-applicative
+    , parser-combinators
     , pointed
     , quickcheck-instances
     , quickcheck-text