packages feed

mmark-cli-0.0.5.1: mmark-cli.cabal

cabal-version:   1.18
name:            mmark-cli
version:         0.0.5.1
license:         BSD3
license-file:    LICENSE.md
maintainer:      Mark Karpov <markkarpov92@gmail.com>
author:          Mark Karpov <markkarpov92@gmail.com>
tested-with:     ghc ==8.8.4 ghc ==8.10.5 ghc ==9.0.1
homepage:        https://github.com/mmark-md/mmark-cli
bug-reports:     https://github.com/mmark-md/mmark-cli/issues
synopsis:        Command line interface to the MMark markdown processor
description:     Command line interface to the MMark markdown processor.
category:        Text, CLI
build-type:      Simple
extra-doc-files:
    CHANGELOG.md
    README.md

source-repository head
    type:     git
    location: https://github.com/mmark-md/mmark-cli.git

flag dev
    description: Turn on development settings.
    default:     False
    manual:      True

executable mmark
    main-is:          Main.hs
    hs-source-dirs:   app
    other-modules:    Paths_mmark_cli
    default-language: Haskell2010
    build-depends:
        aeson >=0.11 && <3,
        base >=4.13 && <5.0,
        bytestring >=0.9.2 && <0.12,
        directory >=1.2.2 && <1.4,
        ghc-syntax-highlighter >=0.0.1 && <0.1,
        gitrev >=1.3 && <1.4,
        lucid >=2.6 && <3.0,
        megaparsec >=7.0 && <10.0,
        mmark >=0.0.6 && <0.1,
        mmark-ext >=0.2 && <0.3,
        optparse-applicative >=0.14 && <0.17,
        stache >=2.0 && <3.0,
        text >=0.2 && <1.3

    if flag(dev)
        ghc-options:
            -Wall -Werror -Wcompat -Wincomplete-record-updates
            -Wincomplete-uni-patterns -Wnoncanonical-monad-instances

    else
        ghc-options: -O2 -Wall