Skip to content

Commit cf49c54

Browse files
committed
DRY & bound the dependency versions
- DRY the versions - Bound the versions of text-icu
1 parent 5a9f329 commit cf49c54

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

unicode-transforms.cabal

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test-suite extras
108108
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
109109
build-depends:
110110
QuickCheck >=2.1 && <2.15
111-
, base >=4.7 && <4.17
111+
, base
112112
, deepseq >=1.1 && <1.5
113113
, text
114114
, unicode-transforms
@@ -129,10 +129,10 @@ test-suite quickcheck
129129
test
130130
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
131131
build-depends:
132-
QuickCheck >= 2.1 && < 2.15
133-
, unicode-data >= 0.2 && < 0.4
134-
, base >= 4.7 && < 4.17
135-
, deepseq >= 1.1 && < 1.5
132+
QuickCheck
133+
, unicode-data
134+
, base
135+
, deepseq
136136
, hspec >= 2.0 && < 3
137137
, text
138138
, unicode-transforms
@@ -145,7 +145,7 @@ test-suite quickcheck
145145
if flag(has-icu)
146146
cpp-options: -DHAS_ICU
147147
build-depends:
148-
text-icu >=0.6.2.1
148+
text-icu >=0.6.2.1 && <0.9
149149
default-language: Haskell2010
150150

151151
test-suite ucd
@@ -155,9 +155,9 @@ test-suite ucd
155155
test
156156
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
157157
build-depends:
158-
base >=4.7 && <4.17
158+
base
159159
, bytestring
160-
, split >=0.1 && <0.3
160+
, split >=0.2 && <0.3
161161
, text
162162
, unicode-transforms
163163
if flag(dev)
@@ -175,8 +175,8 @@ benchmark bench
175175
benchmark
176176
ghc-options: -Wall -fwarn-identities -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -fwarn-tabs
177177
build-depends:
178-
base >=4.7 && <4.17
179-
, deepseq >=1.1.0 && <1.5
178+
base
179+
, deepseq
180180
, filepath >=1.0 && <2
181181
, path >=0.0.0 && <0.9
182182
, path-io >=0.1.0 && <1.7
@@ -196,7 +196,7 @@ benchmark bench
196196
if flag(has-icu)
197197
cpp-options: -DBENCH_ICU
198198
build-depends:
199-
text-icu >=0.6.2.1 && <0.8
199+
text-icu
200200
if impl(ghc < 7.10)
201201
build-depends:
202202
path (<0.5.12 || >0.5.12)
@@ -209,9 +209,9 @@ executable chart
209209
if flag(bench-show)
210210
buildable: True
211211
build-Depends:
212-
base >= 4.8 && < 4.17
212+
base
213213
, bench-show >= 0.3 && < 0.4
214-
, split >= 0.2 && < 0.3
214+
, split
215215
, transformers >= 0.4 && < 0.6
216216
else
217217
buildable: False

0 commit comments

Comments
 (0)