packages feed

cli-setup-0.2.0.2: cli-setup.cabal

cabal-version: 1.18
name: cli-setup
version: 0.2.0.2
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Vanessa McHale
maintainer: vamchale@gmail.com
author: Vanessa McHale
homepage: https://github.com/vmchale/cli-setup#readme
synopsis: Helper setup scripts for packaging command-line tools.
description:
    Provides functions to set up manpages and shell completions. Intended to be used in the @Setup.hs@ module.
category: Development, Command Line Tools
build-type: Simple
extra-source-files:
    stack.yaml
    cabal.project.local
    py/optparse-applicative.py
extra-doc-files: README.md

source-repository head
    type: darcs
    location: https://hub.darcs.net/vmchale/cli-setup

flag development
    description:
        Enable `-Werror`
    default: False
    manual: True

library
    exposed-modules:
        Distribution.CommandLine
    hs-source-dirs: src
    default-language: Haskell2010
    ghc-options: -Wall
    build-depends:
        base >=4.8 && <5,
        directory -any,
        process >=1.4.0.0,
        bytestring -any,
        file-embed >=0.0.9
    
    if flag(development)
        ghc-options: -Werror
    
    if impl(ghc >=8.0)
        ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
                     -Wcompat