From 5a8511fe403dcb048b1afb57cedfb3e5a441e56c Mon Sep 17 00:00:00 2001 From: Lennart Kolmodin <kolmodin@gmail.com> Date: Wed, 1 Aug 2018 21:15:10 +0200 Subject: [PATCH] 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. --- 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, -- GitLab