2c86856ca7
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.
43 lines
1.6 KiB
Haskell
43 lines
1.6 KiB
Haskell
--------------------------------------------------------------------------------
|
|
import Test.Prelude
|
|
--------------------------------------------------------------------------------
|
|
import qualified Xanthous.Data.EntityCharSpec
|
|
import qualified Xanthous.Data.EntityMapSpec
|
|
import qualified Xanthous.Data.EntityMap.GraphicsSpec
|
|
import qualified Xanthous.Data.LevelsSpec
|
|
import qualified Xanthous.Data.EntitiesSpec
|
|
import qualified Xanthous.DataSpec
|
|
import qualified Xanthous.Entities.RawsSpec
|
|
import qualified Xanthous.GameSpec
|
|
import qualified Xanthous.Generators.UtilSpec
|
|
import qualified Xanthous.MessageSpec
|
|
import qualified Xanthous.Messages.TemplateSpec
|
|
import qualified Xanthous.OrphansSpec
|
|
import qualified Xanthous.Util.GraphicsSpec
|
|
import qualified Xanthous.Util.GraphSpec
|
|
import qualified Xanthous.Util.InflectionSpec
|
|
import qualified Xanthous.UtilSpec
|
|
--------------------------------------------------------------------------------
|
|
|
|
main :: IO ()
|
|
main = defaultMain test
|
|
|
|
test :: TestTree
|
|
test = testGroup "Xanthous"
|
|
[ Xanthous.Data.EntityCharSpec.test
|
|
, Xanthous.Data.EntityMapSpec.test
|
|
, Xanthous.Data.EntityMap.GraphicsSpec.test
|
|
, Xanthous.Data.LevelsSpec.test
|
|
, Xanthous.Data.EntitiesSpec.test
|
|
, Xanthous.Entities.RawsSpec.test
|
|
, Xanthous.GameSpec.test
|
|
, Xanthous.Generators.UtilSpec.test
|
|
, Xanthous.MessageSpec.test
|
|
, Xanthous.Messages.TemplateSpec.test
|
|
, Xanthous.OrphansSpec.test
|
|
, Xanthous.DataSpec.test
|
|
, Xanthous.UtilSpec.test
|
|
, Xanthous.Util.GraphicsSpec.test
|
|
, Xanthous.Util.GraphSpec.test
|
|
, Xanthous.Util.InflectionSpec.test
|
|
]
|