-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathinflections.cabal
115 lines (103 loc) · 4.08 KB
/
inflections.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
cabal-version: 2.0
name: inflections
version: 0.4.0.7
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 <[email protected]>
homepage: https://github.com/stackbuilders/inflections-hs
bug-reports: https://github.com/stackbuilders/inflections-hs/issues
maintainer: Justin Leitgeb <[email protected]>
copyright: 2014–2016 Justin Leitgeb
category: Text
build-type: Simple
extra-source-files: CHANGELOG.md
, README.md
, bench/little_women.txt
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
other-modules: Text.Inflections.Data
, Text.Inflections.Camelize
, Text.Inflections.Dasherize
, Text.Inflections.Humanize
, Text.Inflections.Ordinal
, Text.Inflections.Parameterize
, Text.Inflections.Parse.CamelCase
, Text.Inflections.Parse.SnakeCase
, Text.Inflections.Titleize
, Text.Inflections.Transliterate
, Text.Inflections.Types
, Text.Inflections.Underscore
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
build-depends: base >= 4.11 && < 5.0
, exceptions >= 0.6 && < 0.11
, megaparsec >= 7.0.1 && < 10.0
, text >= 0.2 && < 2.1
, unordered-containers >= 0.2.7 && < 0.3
if !impl(ghc >= 7.10)
build-depends: void == 0.7.*
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover
build-depends: inflections
, QuickCheck >= 2.7.6 && < 3.0
, base >= 4.11 && < 5.0
, containers >= 0.5 && < 0.7
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 2.0 && < 3.0
, megaparsec
, text >= 0.2 && < 2.1
if !impl(ghc >= 7.10)
build-depends: void == 0.7.*
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
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.Parse.CamelCaseSpec
, Text.Inflections.Parse.SnakeCaseSpec
, Text.Inflections.TitleizeSpec
, Text.Inflections.TransliterateSpec
, Text.Inflections.TypesSpec
, Text.Inflections.UnderscoreSpec
, Text.InflectionsSpec
benchmark bench-speed
main-is: Main.hs
hs-source-dirs: bench/speed
type: exitcode-stdio-1.0
build-depends: base
, inflections
, text
, criterion >= 1.1 && < 1.7
default-language: Haskell2010
benchmark bench-memory
main-is: Main.hs
hs-source-dirs: bench/memory
type: exitcode-stdio-1.0
build-depends: base
, inflections
, text
, weigh >= 0.0.3 && < 0.1.0
default-language: Haskell2010