packages feed

hpp-0.6.2: hpp.cabal

name:                hpp
version:             0.6.2
synopsis:            A Haskell pre-processor
description:         See the README for usage examples
license:             BSD3
license-file:        LICENSE
author:              Anthony Cowley
maintainer:          acowley@gmail.com
copyright:           (C) 2015-2016 Anthony Cowley
category:            Development
build-type:          Simple
extra-source-files:  tests/mcpp-validation.sh, CHANGELOG.md, README.md
cabal-version:       >=1.10
homepage:            https://github.com/acowley/hpp
tested-with:         GHC == 8.4.4 || == 8.6.5 || == 8.8.2

source-repository head
  type:     git
  location: http://github.com/acowley/hpp.git

library
  exposed-modules:     Hpp,
                       Hpp.CmdLine,
                       Hpp.Conditional,
                       Hpp.Config,
                       Hpp.Directive,
                       Hpp.Env,
                       Hpp.Expansion,
                       Hpp.Expr,
                       Hpp.Macro,
                       Hpp.Parser,
                       Hpp.Preprocessing,
                       Hpp.RunHpp,
                       Hpp.String,
                       Hpp.StringSig,
                       Hpp.Tokens,
                       Hpp.Types
  build-depends:       base >=4.8 && < 4.14, directory, time >=1.5, filepath,
                       transformers >=0.4, bytestring, unordered-containers,
                       ghc-prim

  if impl(ghc < 8)
    build-depends: semigroups >= 0.18 && < 0.20

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options: -Wall

executable hpp
  main-is:             src/Main.hs
  build-depends:       hpp, base, directory, time >=1.5, filepath
  hs-source-dirs:      .
  default-language:    Haskell2010
  ghc-options: -Wall

test-suite aslib
  type:       exitcode-stdio-1.0
  main-is:    tests/AsLib.hs
  build-depends: base, hpp, transformers, bytestring
  default-language:    Haskell2010