packages feed

titlecase-1.0.2: titlecase.cabal

name:                titlecase
version:             1.0.2
license:             BSD3
license-file:        LICENSE
author:              Nikita Karetnikov,
                     Peter Simons,
                     Aaron Wolf,
                     Serg Nesterov
maintainer:          Peter Simons <simons@cryp.to>
homepage:            https://github.com/peti/titlecase#readme
bug-reports:         https://github.com/peti/titlecase/issues
category:            Text
stability:           stable
build-type:          Simple
cabal-version:       >= 1.10
synopsis:            Convert English Words to Title Case
description:         Capitalize all English words except articles (a, an, the),
                     coordinating conjunctions (for, and, nor, but, or, yet,
                     so), and prepositions (unless they begin or end the
                     title). The prepositions are taken from
                     <https://en.wikipedia.org/wiki/List_of_English_prepositions Wikipedia>.
tested-with:         GHC == 8.4.4, GHC == 8.6.5,
                     GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8,
                     GHC == 9.4.8, GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3,
                     GHC == 9.12.4, GHC == 9.14.1

source-repository head
  type: git
  location: https://github.com/peti/titlecase.git

library
  default-language: Haskell2010
  hs-source-dirs:
    src
  other-extensions: MultiWayIf
  ghc-options: -Wall
  build-depends:
    base <5
  exposed-modules:
    Data.Text.Titlecase
    Data.Text.Titlecase.Internal
  other-modules:
    Paths_titlecase

executable titlecase
  default-language: Haskell2010
  main-is: titlecase.hs
  ghc-options: -Wall
  build-depends:
    base <5,
    titlecase

test-suite regression-tests
  type: exitcode-stdio-1.0
  main-is: regression-tests.hs
  hs-source-dirs:
    tests
  ghc-options: -Wall
  build-depends:
    base <5,
    titlecase,
    tasty,
    tasty-hunit,
    tasty-quickcheck
  other-modules:
    Property
    Unit
  default-language: Haskell2010