Skip to content

Commit 61570ca

Browse files
erikdmoodmosaic
authored andcommitted
Remove unused dependencies from cabal files
1 parent 7cd327d commit 61570ca

4 files changed

Lines changed: 7 additions & 14 deletions

File tree

hedgehog-example/hedgehog-example.cabal

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ library
4040
hs-source-dirs:
4141
src
4242

43+
ghc-options:
44+
-Wall -Wunused-packages
45+
4346
exposed-modules:
4447
Test.Example.Basic
4548
, Test.Example.Confidence
@@ -59,7 +62,6 @@ library
5962
hedgehog
6063
, hedgehog-quickcheck
6164
, base >= 3 && < 5
62-
, barbies
6365
, containers >= 0.4 && < 0.9
6466
, directory >= 1.0 && < 1.4
6567
, filepath >= 1.3 && < 1.6
@@ -68,9 +70,7 @@ library
6870
, mmorph >= 1.0 && < 1.3
6971
, mtl >= 2.1 && < 2.4
7072
, parsec >= 3.1 && < 3.2
71-
, pretty-show >= 1.6 && < 1.11
7273
, process >= 1.2 && < 1.7
73-
, QuickCheck >= 2.7 && < 2.19
7474
, resourcet >= 1.1 && < 1.4
7575
, template-haskell >= 2.10 && < 2.25
7676
, temporary >= 1.3 && < 1.4
@@ -87,12 +87,10 @@ test-suite test
8787

8888
build-depends:
8989
hedgehog-example
90-
, hedgehog
91-
, hedgehog-quickcheck
9290
, base
9391

9492
ghc-options:
95-
-Wall -threaded -O2
93+
-Wall -threaded -O2 -Wunused-packages
9694

9795
hs-source-dirs:
9896
test

hedgehog-quickcheck/hedgehog-quickcheck.cabal

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ library
5959
base >= 3 && < 5
6060
, hedgehog >= 0.5 && < 1.8
6161
, QuickCheck >= 2.7 && < 2.19
62-
, transformers >= 0.4 && < 0.7
6362

6463
ghc-options:
6564
-Wall

hedgehog-test-laws/hedgehog-test-laws.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test-suite test
5252
test.hs
5353

5454
ghc-options:
55-
-Wall -threaded -O2
55+
-Wall -threaded -O2 -Wunused-packages
5656

5757
hs-source-dirs:
5858
test
@@ -63,9 +63,7 @@ test-suite test
6363
, checkers >= 0.5 && < 0.8
6464
, QuickCheck >= 2.10 && < 2.19
6565
, tasty >= 1.2 && < 1.6
66-
, tasty-expected-failure >= 0.11 && < 0.13
6766
, tasty-quickcheck >= 0.10 && < 0.12
68-
, transformers >= 0.5 && < 0.7
6967

7068
if impl(ghc < 8.0)
7169
buildable: False

hedgehog/hedgehog.cabal

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ library
8686
, wl-pprint-annotated >= 0.0 && < 0.2
8787

8888
ghc-options:
89-
-Wall
89+
-Wall -Wunused-packages
9090

9191
hs-source-dirs:
9292
src
@@ -132,7 +132,7 @@ test-suite test
132132
test.hs
133133

134134
ghc-options:
135-
-Wall -threaded -O2
135+
-Wall -threaded -O2 -Wunused-packages
136136

137137
hs-source-dirs:
138138
test
@@ -154,8 +154,6 @@ test-suite test
154154
, containers >= 0.4 && < 0.9
155155
, mmorph >= 1.0 && < 1.3
156156
, mtl >= 2.1 && < 2.4
157-
, pretty-show >= 1.6 && < 1.11
158-
, text >= 1.1 && < 2.2
159157
, transformers >= 0.3 && < 0.7
160158

161159
default-language:

0 commit comments

Comments
 (0)