Source

hpaco / hpaco-lib / hpaco-lib.cabal

Full commit
name:                hpaco-lib
version:             0.18.1.0
synopsis:            Modular template compiler library
description:         Template compiler library, compiles template code into
                     PHP or Javascript, or interprets it directly.
homepage:            https://bitbucket.org/tdammers/hpaco
license:             BSD3
license-file:        LICENSE
author:              Tobias Dammers
maintainer:          tdammers@gmail.com
-- copyright:           
category:            Development
build-type:          Simple
cabal-version:       >=1.8

extra-source-files:
    snippets/php/*.php
    snippets/js/*.js

library
  exposed-modules: Text.HPaco.Optimizer
                 , Text.HPaco.Readers.Common
                 , Text.HPaco.Readers.Paco
                 , Text.HPaco.Readers.Paco.ParserInternals
                 , Text.HPaco.Readers.Paco.Basics
                 , Text.HPaco.Readers.Paco.Expressions
                 , Text.HPaco.Readers.Paco.Statements
                 , Text.HPaco.Readers.Paco.Include
                 , Text.HPaco.Readers.Capo.Statements
                 , Text.HPaco.Writers.Javascript
                 , Text.HPaco.Writers.JsonLisp
                 , Text.HPaco.Writers.Dependencies
                 , Text.HPaco.Writers.Run
                 , Text.HPaco.Writers.PHP
                 , Text.HPaco.Writers.Internal.WrapMode
                 , Text.HPaco.Writers.Internal.CodeWriter
                 , Text.HPaco.Writers.Run.Encode
                 , Text.HPaco.Writers.Run.Library
                 , Text.HPaco.AST
                 , Text.HPaco.AST.Statement
                 , Text.HPaco.AST.Identifier
                 , Text.HPaco.AST.AST
                 , Text.HPaco.AST.Expression
                 , Text.HPaco.Writer
                 , Text.HPaco.Reader
                 , Data.Variant
                 , Data.Variant.ToFrom
  -- other-modules:       
  build-depends:       base == 4.*
               ,       bytestring == 0.9.*
               ,       parsec == 3.*
               ,       mtl == 2.1.*
               ,       containers >= 0.2 && < 0.5
               ,       transformers == 0.3.*
               ,       strict == 0.3.*
               ,       filepath >= 1.1 && < 1.4
               ,       split >= 0.1 && < 0.2
               ,       safe >= 0.3.3 && < 0.4
               ,       file-embed == 0.0.4.*