packages feed

wordchoice-0.1.2.8: wordchoice.cabal

cabal-version:      >=1.10
name:               wordchoice
version:            0.1.2.8
license:            BSD3
license-file:       LICENSE
copyright:          2017,2018 Vanessa McHale
maintainer:         vamchale@gmail.com
author:             Vanessa McHale
synopsis:           Get word counts and distributions
description:
    A command line tool to compute the word distribution from various types of document, converting to text with pandoc.

category:           Web
build-type:         Simple
extra-source-files:
    README.md
    cabal.project.local

source-repository head
    type:     git
    location: https://hub.darcs.net/vmchale/wordchoice

library
    exposed-modules:    Data.Text.WordCount
    hs-source-dirs:     src
    other-modules:      Data.Text.WordCount.FileRead
    default-language:   Haskell2010
    default-extensions: OverloadedStrings
    ghc-options:        -Wall
    build-depends:
        base >=4.11 && <5,
        pandoc >=2.0,
        containers -any,
        Glob -any,
        bytestring -any,
        binary -any,
        text -any,
        directory -any,
        composition-prelude -any,
        Chart -any,
        bytestring -any,
        system-filepath -any,
        Chart-diagrams -any,
        lens -any,
        transformers -any

executable wrd
    main-is:          Main.hs
    hs-source-dirs:   app
    other-modules:    Paths_wordchoice
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base -any,
        optparse-applicative -any,
        directory -any,
        bytestring -any,
        binary -any,
        containers -any,
        lens -any,
        text -any,
        wordchoice -any

test-suite wordchoice-test
    type:             exitcode-stdio-1.0
    main-is:          Spec.hs
    hs-source-dirs:   test
    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall
    build-depends:
        base -any,
        wordchoice -any

benchmark wordchoice-bench
    type:             exitcode-stdio-1.0
    main-is:          Bench.hs
    hs-source-dirs:   bench
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base -any,
        criterion -any,
        text -any,
        wordchoice -any,
        pandoc -any