Skip to content

Commit

Permalink
Remove test-utils internal library because it confuses cabal when cli…
Browse files Browse the repository at this point in the history
…ents try to depend on this package
  • Loading branch information
sergv committed Dec 16, 2024
1 parent ab14fed commit 587027b
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions atomic-counter.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -126,34 +126,24 @@ library
ghc-options:
-dcmm-lint

library test-utils
import: ghc-options
visibility:
private
exposed-modules:
TestUtils
hs-source-dirs:
test
build-depends:
, QuickCheck
, async >= 2
, base >= 4.12 && < 5

test-suite test
import: ghc-options
type:
exitcode-stdio-1.0
main-is:
test/TestMain.hs
other-modules:
TestUtils
hs-source-dirs:
.
test
build-depends:
, QuickCheck
, async >= 2
, atomic-counter
, base >= 4.12
, tasty
, tasty-quickcheck
, atomic-counter:test-utils
ghc-options:
-rtsopts
-threaded
Expand All @@ -166,18 +156,21 @@ benchmark bench
exitcode-stdio-1.0
main-is:
bench/BenchMain.hs
other-modules:
TestUtils
hs-source-dirs:
.
test
build-depends:
, QuickCheck
, async >= 2
, atomic-counter
, base >= 4.12
, primitive
, stm
, tasty >= 1.4.2
, tasty-bench >= 0.3.4
, tasty-quickcheck
, atomic-counter:test-utils
ghc-options:
-rtsopts
-threaded
Expand Down

0 comments on commit 587027b

Please sign in to comment.