From cb0547978e7a79a5aa4e0e03e874ea2ac3f79c8c Mon Sep 17 00:00:00 2001 From: risingCadence Date: Mon, 4 Nov 2024 23:21:17 +0530 Subject: [PATCH] Update beam-automigrate.cabal Forked and fixed because of https://github.com/obsidiansystems/beam-automigrate/pull/27 --- beam-automigrate.cabal | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/beam-automigrate.cabal b/beam-automigrate.cabal index 9711b2b..71a713c 100644 --- a/beam-automigrate.cabal +++ b/beam-automigrate.cabal @@ -1,8 +1,9 @@ + name: beam-automigrate -version: 0.1.6.0 +version: 0.1.3.0 license-file: LICENSE build-type: Simple -cabal-version: 2.0 +cabal-version: >=1.10 author: Alfredo Di Napoli, Andres Löh, Well-Typed LLP, and Obsidian Systems LLC copyright: 2020 Obsidian Systems LLC maintainer: maintainer@obsidian.systems @@ -42,7 +43,7 @@ library build-depends: aeson >=1.4.4 && <2.2 , base >=4.9 && <5 - , beam-core >=0.9 && <0.11 + , beam-core >=0.9 && <0.10 , beam-postgres >=0.5 && <0.6 , bytestring >=0.10.8.2 && <0.12.0.0 , containers >=0.5.9.2 && <0.8.0.0 @@ -92,7 +93,6 @@ library beam-automigrate-test-utils exposed-modules: Database.Beam.AutoMigrate.TestUtils ghc-options: -Wall - default-language: Haskell2010 test-suite beam-automigrate-tests type: exitcode-stdio-1.0 @@ -125,7 +125,7 @@ executable beam-automigrate-integration-tests , beam-postgres , containers , postgresql-simple - , postgresql-syntax >= 0.3 && <0.5 + , postgresql-syntax >= 0.4 && <0.5 , pretty-simple , QuickCheck , tasty @@ -225,6 +225,9 @@ executable readme main-is: README.lhs ghc-options: -Wall -optL -q -threaded + if !flag(build-readme) + buildable: False + flag werror description: Enable -Werror during development default: False @@ -235,6 +238,16 @@ flag ghcipretty default: False manual: True +flag integration-tests + description: Enable integration tests that talks to a Postgres DB. + default: False + manual: True + +flag build-readme + description: Build README.lhs which depends on gargoyle + default: False + manual: True + source-repository head type: git location: https://github.com/obsidiansystems/beam-automigrate