packages feed

hakyll-shortcut-links-0.0.0.0: hakyll-shortcut-links.cabal

cabal-version:       2.0
name:                hakyll-shortcut-links
version:             0.0.0.0
synopsis:            Use shortcut-links in markdown file for Hakyll
description:         Use shortcut-links in markdown file for Hakyll. See README for more details.
homepage:            https://github.com/kowainik/hakyll-shortcut-links
bug-reports:         https://github.com/kowainik/hakyll-shortcut-links/issues
license:             MPL-2.0
license-file:        LICENSE
author:              Kowainik
maintainer:          xrom.xkov@gmail.com
copyright:           2019 Kowainik
category:            Web, Hakyll, Markdown
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.6.3

source-repository head
  type:                git
  location:            https://github.com/kowainik/hakyll-shortcut-links.git

library
  hs-source-dirs:      src
  exposed-modules:     Hakyll.ShortcutLinks
                          Hakyll.ShortcutLinks.Parser

  build-depends:       base ^>= 4.12.0.0
                     , hakyll ^>= 4.12.5
                     , megaparsec ^>= 7.0.4
                     , mtl ^>= 2.2.2
                     , pandoc-types ^>= 1.17
                     , shortcut-links ^>= 0.4.2.1
                     , text ^>= 1.2

  ghc-options:         -Wall
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wcompat
                       -Widentities
                       -Wredundant-constraints
                       -fhide-source-paths
                       -Wmissing-export-lists
                       -Wpartial-fields

  default-language:    Haskell2010
  default-extensions:  ConstraintKinds
                       DeriveGeneric
                       GeneralizedNewtypeDeriving
                       InstanceSigs
                       KindSignatures
                       LambdaCase
                       OverloadedStrings
                       RecordWildCards
                       ScopedTypeVariables
                       StandaloneDeriving
                       TupleSections
                       TypeApplications
                       ViewPatterns

test-suite hakyll-shortcut-links-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       Test.Links
                       Test.Parser

  build-depends:       base ^>= 4.12.0.0
                     , hakyll-shortcut-links
                     , hspec ^>= 2.7.1
                     , mtl
                     , pandoc >= 2.6
                     , text

  ghc-options:         -Wall
                       -threaded
                       -rtsopts
                       -with-rtsopts=-N
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Wcompat
                       -Widentities
                       -Wredundant-constraints
                       -fhide-source-paths
                       -Wmissing-export-lists
                       -Wpartial-fields

  default-language:    Haskell2010
  default-extensions:  ConstraintKinds
                       DeriveGeneric
                       GeneralizedNewtypeDeriving
                       InstanceSigs
                       KindSignatures
                       LambdaCase
                       OverloadedStrings
                       RecordWildCards
                       ScopedTypeVariables
                       StandaloneDeriving
                       TupleSections
                       TypeApplications
                       ViewPatterns