name:                panhandle
version:             0.2.0.0
synopsis:            Pandoc filter to unwrap nested blocks
description:         Pandoc filter to splice together nested documents
homepage:            http://chriswarbo.net/projects/activecode
license:             PublicDomain
license-file:        LICENSE
author:              Chris Warburton
maintainer:          chriswarbo@gmail.com
category:            Text
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

source-repository head
  type:     git
  location: http://chriswarbo.net/git/panhandle.git

library
  hs-source-dirs:      src
  exposed-modules:     PanHandle
  default-language:    Haskell2010
  build-depends:       base   >=4.7  && <4.10
                     , pandoc >=1.17 && <1.18
                     , pandoc-types
                     , syb

executable panhandle
  main-is:             Main.hs
  build-depends:       base >=4.7 && <4.10
                     , panhandle
  hs-source-dirs:      panhandle
  default-language:    Haskell2010

test-suite tests
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      tests
  main-is:             Main.hs
  build-depends:       base       >= 4.7
                     , panhandle
                     , QuickCheck
                     , tasty      >= 0.7
                     , tasty-quickcheck
                     , lazysmallcheck2012
                     , tagged
                     , containers >=0.5  && <0.6
                     , pandoc
                     , pandoc-types
                     , derive
                     , syb
                     , aeson