packages feed

haiji-0.2.2.2: haiji.cabal

-- Initial haiji.cabal generated by cabal init.  For further documentation,
--  see http://haskell.org/cabal/users-guide/

name:                haiji
version:             0.2.2.2
synopsis:            A typed template engine, subset of jinja2
description:         Haiji is a template engine which is subset of jinja2.
                     This is designed to free from the unintended rendering result
                     by strictly typed variable interpolation.
license:             BSD3
license-file:        LICENSE
author:              Noriyuki OHKAWA <n.ohkawa@gmail.com>
maintainer:          Noriyuki OHKAWA <n.ohkawa@gmail.com>
copyright:           Copyright (c) 2014, Noriyuki OHKAWA
category:            Text
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

source-repository head
  type:                git
  location:            https://github.com/notogawa/haiji.git

library
  exposed-modules:     Text.Haiji
                       Text.Haiji.Runtime
  other-modules:       Text.Haiji.Parse
                       Text.Haiji.TH
                       Text.Haiji.Types
                       Text.Haiji.Dictionary
                       Text.Haiji.Syntax
                       Text.Haiji.Syntax.AST
                       Text.Haiji.Syntax.Identifier
                       Text.Haiji.Syntax.Expression
                       Text.Haiji.Syntax.Variable
  build-depends:       base >=4.7 && <5
                     , text
                     , attoparsec >=0.10
                     , template-haskell >=2.8
                     , tagged >=0.2
                     , aeson
                     , transformers
                     , mtl >=1.1
                     , vector
                     , unordered-containers
                     , scientific
                     , data-default
                     , unordered-containers
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite doctests
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs
  build-depends:       base
                     , doctest
                     , filepath
  hs-source-dirs:      test
  ghc-options:         -Wall -threaded
  default-language:    Haskell2010

test-suite tests
  type:                exitcode-stdio-1.0
  main-is:             tests.hs
  build-depends:       base
                     , aeson
                     , haiji
                     , tasty
                     , tasty-th
                     , tasty-hunit
                     , text
                     , process-extras
                     , data-default
  hs-source-dirs:      test
  ghc-options:         -Wall -threaded
  default-language:    Haskell2010