-- Initial ert.cabal generated by cabal init. For further documentation, -- see http://haskell.org/cabal/users-guide/ name: ert version: 0.0.1.0 synopsis: Embedded Runtime Templates -- description: license: GPL-3 license-file: LICENSE author: K. maintainer: kayo@illumium.org -- copyright: category: Text build-type: Simple -- extra-source-files: cabal-version: >=1.10 Flag dev Description: Turn on development settings. Default: False Flag util Description: Compiles console utily for testing templates. Default: True Flag yaml Description: Compiles utily with Yaml support. Default: True Flag regex Description: Adds support of regex matching in expressions. Default: True library exposed-modules: Data.EasyTpl -- other-modules: default-extensions: OverloadedStrings CPP -- other-extensions: build-depends: base >=4.6 && <4.7 , bytestring >= 0.10.0.2 && < 0.11 , text >= 0.11.3.1 && < 0.12 , vector >= 0.10.0.1 && < 0.11 , unordered-containers >= 0.2.3.0 && < 0.3 , aeson >= 0.6.2.1 && < 0.7 , attoparsec >= 0.10.4.0 && < 0.11 , 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 -O0 cpp-options: -DWITH_DEBUG else ghc-options: -O2 default-language: Haskell2010 executable ert if flag(util) Buildable: True main-is: Main.hs default-extensions: OverloadedStrings CPP build-depends: base , ert , attoparsec >= 0.10.4.0 && < 0.11 , attoparsec-expr >= 0.1.1.1 && < 0.2 , bytestring >= 0.10.0.2 && < 0.11 , text >= 0.11.3.1 && < 0.12 , vector >= 0.10.0.1 && < 0.11 , unordered-containers >= 0.2.3.0 && < 0.3 , aeson >= 0.6.2.1 && < 0.7 if flag(regex) build-depends: regex-compat >= 0.95.1 && < 0.96 cpp-options: -DWITH_REGEX if flag(yaml) build-depends: yaml >= 0.8.9.1 && < 0.9 cpp-options: -DWITH_YAML if flag(dev) ghc-options: -Wall -O0 cpp-options: -DWITH_DEBUG else ghc-options: -O2 default-language: Haskell2010