-- Initial ert.cabal generated by cabal init. For further documentation, -- see http://haskell.org/cabal/users-guide/ name: ert version: 0.0.2.1 synopsis: Easy Runtime Templates description: EJS-like template engine for Haskell. license: GPL-3 license-file: LICENSE author: K. maintainer: kayo@illumium.org -- copyright: homepage: https://bitbucket.org/kayo/ert category: Text build-type: Simple -- extra-source-files: cabal-version: >=1.10 source-repository head type: git location: https://bitbucket.org/kayo/ert.git flag dev description: Turn on development settings. default: False flag util description: Compiles console utily for testing and rendering templates. default: True flag yaml description: Compiles console utily with Yaml support. default: True flag regex description: Adds support of regex matching in expressions. default: True library exposed-modules: Data.EasyTpl hs-source-dirs: library other-modules: Data.EasyTpl.Types Data.EasyTpl.Parser Data.EasyTpl.Render default-extensions: OverloadedStrings CPP -- other-extensions: build-depends: base >= 4.6 && < 5 , bytestring >= 0.10.0.2 , text >= 0.11.3.1 , vector >= 0.10.0.1 && < 0.11 , unordered-containers >= 0.2.3.0 && < 0.3 , aeson >= 0.8.0.1 && < 0.9 , attoparsec >= 0.11.3.4 && < 0.13 , attoparsec-expr >= 0.1.1.1 && < 0.2 if flag(regex) build-depends: regex-compat >= 0.95.1 && < 0.96 cpp-options: -DWITH_REGEX if flag(dev) ghc-options: -Wall cpp-options: -DWITH_DEBUG default-language: Haskell2010 executable ert if flag(util) Buildable: True main-is: Main.hs default-extensions: OverloadedStrings CPP build-depends: base , ert , bytestring >= 0.10.0.2 , aeson >= 0.8.0.1 && < 0.9 , attoparsec >= 0.10.4.0 && < 0.13 if flag(yaml) build-depends: yaml >= 0.8.9.2 && < 0.9 cpp-options: -DWITH_YAML if flag(dev) ghc-options: -Wall cpp-options: -DWITH_DEBUG default-language: Haskell2010