packages feed

mmark-cli-0.0.5.2: mmark-cli.cabal

cabal-version:   2.4
name:            mmark-cli
version:         0.0.5.2
license:         BSD-3-Clause
license-file:    LICENSE.md
maintainer:      Mark Karpov <markkarpov92@gmail.com>
author:          Mark Karpov <markkarpov92@gmail.com>
tested-with:     ghc ==9.4.7 ghc ==9.6.3 ghc ==9.8.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
    autogen-modules:  Paths_mmark_cli
    default-language: GHC2021
    build-depends:
        aeson >=0.11 && <3,
        base >=4.15 && <5,
        bytestring >=0.9.2 && <0.13,
        directory >=1.2.2 && <1.4,
        gitrev >=1.3 && <1.4,
        lucid >=2.6 && <3,
        megaparsec >=7 && <10,
        mmark >=0.0.6 && <0.1,
        mmark-ext >=0.2 && <0.3,
        optparse-applicative >=0.14 && <0.19,
        stache >=2 && <3,
        text >=0.2 && <2.2

    if flag(dev)
        ghc-options:
            -Wall -Werror -Wredundant-constraints -Wpartial-fields
            -Wunused-packages

    else
        ghc-options: -O2 -Wall