mirror of
https://github.com/typeable/inflections-hs.git
synced 2024-10-26 08:08:21 +03:00
81 lines
3.0 KiB
Plaintext
81 lines
3.0 KiB
Plaintext
name: inflections
|
||
version: 0.2.0.1
|
||
synopsis: Inflections library for Haskell
|
||
description:
|
||
Inflections provides methods for singularization, pluralization,
|
||
dasherizing, etc. The library is based on Rails' inflections library.
|
||
|
||
license: MIT
|
||
license-file: LICENSE
|
||
author: Justin Leitgeb <justin@stackbuilders.com>
|
||
homepage: https://github.com/stackbuilders/inflections-hs
|
||
bug-reports: https://github.com/stackbuilders/inflections-hs/issues
|
||
maintainer: Justin Leitgeb <justin@stackbuilders.com>
|
||
copyright: 2014–2016 Justin Leitgeb
|
||
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/stackbuilders/inflections-hs.git
|
||
|
||
flag dev
|
||
description: Turn on development settings.
|
||
manual: True
|
||
default: False
|
||
|
||
library
|
||
exposed-modules: Text.Inflections
|
||
, Text.Inflections.Parse.Types
|
||
|
||
other-modules: Text.Inflections.Data
|
||
, Text.Inflections.Camelize
|
||
, Text.Inflections.Dasherize
|
||
, Text.Inflections.Humanize
|
||
, Text.Inflections.Ordinal
|
||
, Text.Inflections.Parameterize
|
||
, Text.Inflections.Parse.Acronym
|
||
, Text.Inflections.Parse.CamelCase
|
||
, Text.Inflections.Parse.SnakeCase
|
||
, Text.Inflections.Titleize
|
||
, Text.Inflections.Transliterate
|
||
, Text.Inflections.Underscore
|
||
|
||
if flag(dev)
|
||
ghc-options: -Wall -Werror
|
||
else
|
||
ghc-options: -O2 -Wall
|
||
build-depends: base >= 4.6 && < 5.0
|
||
, exceptions >= 0.6 && < 0.9
|
||
, megaparsec >= 5.0 && < 6.0
|
||
, text >= 0.2 && < 1.3
|
||
, unordered-containers >= 0.2.7 && < 0.3
|
||
default-language: Haskell2010
|
||
|
||
test-suite test
|
||
type: exitcode-stdio-1.0
|
||
hs-source-dirs: test
|
||
main-is: Spec.hs
|
||
build-depends: inflections
|
||
, QuickCheck >= 2.7.6 && < 3.0
|
||
, base >= 4.6 && < 5.0
|
||
, hspec >= 2.0 && < 3.0
|
||
, megaparsec >= 5.0 && < 6.0
|
||
, text >= 0.2 && < 1.3
|
||
if flag(dev)
|
||
ghc-options: -Wall -Werror
|
||
else
|
||
ghc-options: -O2 -Wall
|
||
default-language: Haskell2010
|
||
other-modules: Text.Inflections.DasherizeSpec
|
||
, Text.Inflections.HumanizeSpec
|
||
, Text.Inflections.OrdinalSpec
|
||
, Text.Inflections.ParametrizeSpec
|
||
, Text.Inflections.TitleizeSpec
|
||
, Text.Inflections.TransliterateSpec
|
||
, Text.Inflections.UnderscoreSpec
|
||
, Text.InflectionsSpec
|