on master help sign in
Move `Rel8.Generic.Rel8able.Test` to a test suite (#98)

This module is pretty expensive to compile, but is really just a test. As such, this commit moves it from the main `library` component, and into our `test-suite` component.

commitef2894055afb92e62514db292cdb427f124539f7 authorOllie Charles <oliver.charles@circuithub.com> dateFri 2 Jul 2021, 16:11 (5 years ago) parent17c7c61
2 files changed+4−2
rel8.cabal+3−1 src/Rel8/Generic/Rel8able/Test.hs → tests/Rel8/Generic/Rel8able/Test.hs+1−1
rel8.cabal+3−1
@@ -88,7 +88,6 @@ library
8888 Rel8.Generic.Record
8989 Rel8.Generic.Reify
9090 Rel8.Generic.Rel8able
91− Rel8.Generic.Rel8able.Test
9291 Rel8.Generic.Table
9392 Rel8.Generic.Table.ADT
9493 Rel8.Generic.Table.Record
@@ -205,6 +204,9 @@ test-suite tests
205204 , tmp-postgres ^>=1.34.1.0
206205 , uuid
207206
207+ other-modules:
208+ Rel8.Generic.Rel8able.Test
209+
208210 main-is: Main.hs
209211 hs-source-dirs: tests
210212 default-language: Haskell2010
src/Rel8/Generic/Rel8able/Test.hs → tests/Rel8/Generic/Rel8able/Test.hsrenamed+1−1
@@ -121,7 +121,7 @@ deriving via HKDT HKDSum
121121data HKDTest f = HKDTest
122122 { s3Object :: Lift f S3Object
123123 , hkdSum :: Lift f HKDSum
124− }
124+ }
125125 deriving stock Generic
126126 deriving anyclass Rel8able
127127