name:                countable-inflections
version:             0.3.0
synopsis:            Countable Text Inflections
description:
  Provides methods for singularizing and pluralizing text.
  The library is based on Rails' inflections.

license:             MIT
license-file:        LICENSE.md
author:              Brady Ouren <brady.ouren@gmail.com>
homepage:            https://github.com/tippenein/countable-inflections
bug-reports:         https://github.com/tippenein/countable-inflections/issues
maintainer:          Brady Ouren <brady.ouren@gmail.com>
copyright:           2016 Brady Ouren
category:            Text
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  CHANGELOG.md
                   , README.md

source-repository head
  type:            git
  location:        https://github.com/tippenein/countable-inflections.git

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

library
  exposed-modules:     Text.Countable
  other-modules:       Text.Countable.Data
  ghc-options:         -Wall
  build-depends:
      base >= 4.8 && < 5
    , exceptions
    , text
    , regex-pcre-builtin
    , pcre-utils
    , bytestring
  default-language:    Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Spec.hs
  build-depends:
      countable-inflections
    , QuickCheck
    , base
    , hspec
    , text
  ghc-options:         -Wall
  default-language:    Haskell2010
  other-modules:       Text.CountableSpec
