packages feed

publish-2.1.0: publish.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 001dfdaebed2195690eab746f62b3674eb4439f4f1bec491329118c1033da4bc

name:           publish
version:        2.1.0
synopsis:       Publishing tools for papers, books, and presentations
description:    Tools for rendering markdown-centric documents into PDFs.
                .
                A description of this package, a list of features, and some background
                to its design is contained in the
                <https://github.com/oprdyn/publish/blob/master/README.markdown README>
                on GitHub.
                .
                The main program, @render@, is available via a Docker image at
                <https://hub.docker.com/r/oprdyn/publish-render docker.io/oprdyn/publish-render:latest>
category:       Text
stability:      experimental
homepage:       https://github.com/oprdyn/publish#readme
bug-reports:    https://github.com/oprdyn/publish/issues
author:         Andrew Cowie <andrew@operationaldynamics.com>
maintainer:     Andrew Cowie <andrew@operationaldynamics.com>
copyright:      © 2016-2019 Operational Dynamics and Others
license:        MIT
license-file:   LICENSE
tested-with:    GHC == 8.6
build-type:     Simple

source-repository head
  type: git
  location: https://github.com/oprdyn/publish

executable format
  main-is: FormatMain.hs
  other-modules:
      FormatDocument
      PandocToMarkdown
  hs-source-dirs:
      src
  ghc-options: -threaded -Wall -Wwarn -fwarn-tabs
  build-depends:
      base >=4.11 && <5
    , bytestring
    , chronologique
    , core-program >=0.2.2.3
    , core-text >=0.2.2.3
    , deepseq
    , directory
    , filepath
    , hinotify
    , megaparsec
    , pandoc
    , pandoc-types
    , template-haskell
    , text
    , typed-process
    , unix
    , unordered-containers
  default-language: Haskell2010

executable render
  main-is: RenderMain.hs
  other-modules:
      Environment
      LatexPreamble
      LatexOutputReader
      PandocToMarkdown
      ParseBookfile
      RenderDocument
      Utilities
  hs-source-dirs:
      src
  ghc-options: -threaded -Wall -Wwarn -fwarn-tabs
  build-depends:
      base >=4.11 && <5
    , bytestring
    , chronologique
    , core-program >=0.2.2.3
    , core-text >=0.2.2.3
    , deepseq
    , directory
    , filepath
    , hinotify
    , megaparsec
    , pandoc
    , pandoc-types
    , template-haskell
    , text
    , typed-process
    , unix
    , unordered-containers
  default-language: Haskell2010

test-suite check
  type: exitcode-stdio-1.0
  main-is: TestSuite.hs
  other-modules:
      CheckBookfileParser
      CheckTableProperties
      CompareFragments
      Environment
      FormatDocument
      PandocToMarkdown
      ParseBookfile
  hs-source-dirs:
      src
      tests
  ghc-options: -threaded -Wall -Wwarn -fwarn-tabs -threaded
  build-depends:
      base >=4.11 && <5
    , bytestring
    , chronologique
    , core-program >=0.2.2.3
    , core-text >=0.2.2.3
    , deepseq
    , directory
    , filepath
    , hinotify
    , hspec
    , megaparsec
    , pandoc
    , pandoc-types
    , template-haskell
    , text
    , typed-process
    , unix
    , unordered-containers
  default-language: Haskell2010