[commit: packages/binary] master: Add other-modules for the tests and benchmarks. (5a8511f)
git at git.haskell.org
git at git.haskell.org
Fri Aug 3 20:28:22 UTC 2018
Repository : ssh://git@git.haskell.org/binary
On branch : master
Link : http://git.haskell.org/packages/binary.git/commitdiff/5a8511fe403dcb048b1afb57cedfb3e5a441e56c
>---------------------------------------------------------------
commit 5a8511fe403dcb048b1afb57cedfb3e5a441e56c
Author: Lennart Kolmodin <kolmodin at gmail.com>
Date: Wed Aug 1 21:15:10 2018 +0200
Add other-modules for the tests and benchmarks.
GHC gave a warning that we needed modules but didn't explicitly depend
on them in the .cabal file.
>---------------------------------------------------------------
5a8511fe403dcb048b1afb57cedfb3e5a441e56c
binary.cabal | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 71 insertions(+), 1 deletion(-)
diff --git a/binary.cabal b/binary.cabal
index 7e05176..c4997f1 100644
--- a/binary.cabal
+++ b/binary.cabal
@@ -64,6 +64,16 @@ test-suite qc
other-modules:
Action
Arbitrary
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4,
@@ -84,6 +94,16 @@ test-suite read-write-file
type: exitcode-stdio-1.0
hs-source-dirs: src tests
main-is: File.hs
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4,
@@ -104,7 +124,17 @@ benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: src benchmarks
main-is: Benchmark.hs
- other-modules: MemBench
+ other-modules:
+ MemBench
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4
@@ -122,6 +152,16 @@ benchmark get
type: exitcode-stdio-1.0
hs-source-dirs: src benchmarks
main-is: Get.hs
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
attoparsec,
base >= 4.5.0.0 && < 5,
@@ -142,6 +182,16 @@ benchmark put
type: exitcode-stdio-1.0
hs-source-dirs: src benchmarks
main-is: Put.hs
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4,
@@ -159,6 +209,16 @@ benchmark generics-bench
type: exitcode-stdio-1.0
hs-source-dirs: src benchmarks
main-is: GenericsBench.hs
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4,
@@ -188,6 +248,16 @@ benchmark builder
type: exitcode-stdio-1.0
hs-source-dirs: src benchmarks
main-is: Builder.hs
+ other-modules:
+ Data.Binary
+ Data.Binary.Builder
+ Data.Binary.Class
+ Data.Binary.FloatCast
+ Data.Binary.Generic
+ Data.Binary.Get
+ Data.Binary.Get.Internal
+ Data.Binary.Internal
+ Data.Binary.Put
build-depends:
base >= 4.5.0.0 && < 5,
bytestring >= 0.10.4,
More information about the ghc-commits
mailing list