name:                pencil
version:             0.1.3
synopsis: Static site generator
description:
  Pencil is a static site generator. Use it to generate your personal website!
  Pencil comes pre-loaded blogging, tagging, templating, and Markdown and
  Sass/Scss support. Flexible enough to extend for your own needs.
homepage:            https://github.com/elben/pencil
license:             BSD3
license-file:        LICENSE
author:              Elben Shira
maintainer:          elbenshira@gmail.com
copyright:           2018 Elben Shira
category:            Web
build-type:          Simple
extra-source-files:  README.md, CHANGELOG.md
cabal-version:       >=1.10
tested-with:         GHC == 8.0.2,
                     GHC == 8.2.2

library
  hs-source-dirs:      src
  exposed-modules:     Pencil
                     , Pencil.Blog
                     , Pencil.Internal.Pencil
                     , Pencil.Internal.Env
                     , Pencil.Internal.Parser
  build-depends:       base >= 4.8 && < 5
                     , data-default >= 0.7 && < 1
                     , directory >= 1.2.5.0 && < 1.4
                     , edit-distance >= 0.2.2.1 && < 0.3
                     , filepath >= 1.4 && < 1.5
                     , hashable >= 1.2.6.0 && < 1.3
                     , hsass >= 0.8 && < 1
                     , mtl >= 2.2 && < 3
                     , pandoc >= 2.0 && < 3
                     , semigroups >= 0.18.2 && < 0.19
                     , parsec >= 3.1 && < 3.2
                     , text >= 1.2.2 && < 1.3
                     , time >= 1.5.0.1 && < 1.9
                     , unordered-containers >= 0.2.7.2 && < 0.3
                     , vector >= 0.12.0 && < 0.13
                     , xml >= 1.3.10 && < 1.4
                     , yaml >= 0.8.32 && < 0.12
  default-language:    Haskell2010

test-suite pencil-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base >= 4.8 && < 5
                     , pencil
                     , doctest >= 0.16.0.1 && < 1
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

test-suite pencil-example-simple
  type:                exitcode-stdio-1.0
  hs-source-dirs:      examples/Simple
  main-is:             Main.hs
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base >= 4.8 && < 5
                     , pencil
  default-language:    Haskell2010

test-suite pencil-example-blog
  type:                exitcode-stdio-1.0
  hs-source-dirs:      examples/Blog
  main-is:             Main.hs
  ghc-options:         -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:       base >= 4.8 && < 5
                     , pencil
                     , unordered-containers
                     , text
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/elben/pencil