Skip to content

Commit 9e7885c

Browse files
Place internal and external dependencies together.
In definitions of package components.
1 parent 1b617c3 commit 9e7885c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

monoidmap.cabal

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,14 @@ library
8181
, dependency-groups
8282
, dependency-monoid-subclasses
8383
, extensions
84+
build-depends:
85+
, monoidmap-internal
8486
hs-source-dirs:
8587
components/monoidmap
8688
exposed-modules:
8789
Data.MonoidMap
8890
default-language:
8991
Haskell2010
90-
build-depends:
91-
, monoidmap-internal
9292

9393
benchmark monoidmap-benchmark
9494
import:
@@ -97,6 +97,9 @@ benchmark monoidmap-benchmark
9797
, dependency-deepseq
9898
, dependency-tasty-bench
9999
, dependency-tasty-hunit
100+
build-depends:
101+
, monoidmap
102+
, monoidmap-examples
100103
default-language:
101104
Haskell2010
102105
type:
@@ -105,9 +108,6 @@ benchmark monoidmap-benchmark
105108
components/monoidmap-benchmark
106109
main-is:
107110
Main.hs
108-
build-depends:
109-
, monoidmap
110-
, monoidmap-examples
111111

112112
library monoidmap-examples
113113
import:
@@ -117,6 +117,8 @@ library monoidmap-examples
117117
, dependency-monoid-subclasses
118118
, dependency-nonempty-containers
119119
, extensions
120+
build-depends:
121+
, monoidmap
120122
hs-source-dirs:
121123
components/monoidmap-examples
122124
exposed-modules:
@@ -131,8 +133,6 @@ library monoidmap-examples
131133
Examples.RecoveredMap
132134
default-language:
133135
Haskell2010
134-
build-depends:
135-
, monoidmap
136136

137137
library monoidmap-internal
138138
import:
@@ -166,6 +166,9 @@ test-suite monoidmap-test
166166
, dependency-quickcheck-monoid-subclasses
167167
, dependency-text
168168
, extensions
169+
build-depends:
170+
, monoidmap
171+
, monoidmap-examples
169172
ghc-options:
170173
-threaded -with-rtsopts=-N
171174
main-is:
@@ -205,6 +208,3 @@ test-suite monoidmap-test
205208
Haskell2010
206209
build-tool-depends:
207210
hspec-discover:hspec-discover ==2.*
208-
build-depends:
209-
, monoidmap
210-
, monoidmap-examples

0 commit comments

Comments
 (0)