packages feed

sydtest-sqitch-postgres-0.1.0.0: sydtest-sqitch-postgres.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.38.3.
--
-- see: https://github.com/sol/hpack

name:           sydtest-sqitch-postgres
version:        0.1.0.0
synopsis:       A sqitch-on-PostgreSQL companion library for sydtest
category:       Testing
homepage:       https://github.com/NorfairKing/sydtest#readme
bug-reports:    https://github.com/NorfairKing/sydtest/issues
author:         Tom Sydney Kerckhove
maintainer:     syd@cs-syd.eu
copyright:      Copyright (c) 2026 Tom Sydney Kerckhove
license:        OtherLicense
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    LICENSE.md
    CHANGELOG.md
    test_resources/toy-sqitch-broken-revert/deploy/add-color.sql
    test_resources/toy-sqitch-broken-revert/deploy/init.sql
    test_resources/toy-sqitch-broken-revert/revert/add-color.sql
    test_resources/toy-sqitch-broken-revert/revert/init.sql
    test_resources/toy-sqitch-broken-revert/sqitch.conf
    test_resources/toy-sqitch-broken-revert/sqitch.plan
    test_resources/toy-sqitch-broken-revert/verify/add-color.sql
    test_resources/toy-sqitch-broken-revert/verify/init.sql
    test_resources/toy-sqitch-grandfathered/deploy/add-color.sql
    test_resources/toy-sqitch-grandfathered/deploy/add-shape.sql
    test_resources/toy-sqitch-grandfathered/deploy/init.sql
    test_resources/toy-sqitch-grandfathered/revert/add-color.sql
    test_resources/toy-sqitch-grandfathered/revert/add-shape.sql
    test_resources/toy-sqitch-grandfathered/revert/init.sql
    test_resources/toy-sqitch-grandfathered/sqitch.conf
    test_resources/toy-sqitch-grandfathered/sqitch.plan
    test_resources/toy-sqitch-grandfathered/verify/add-color.sql
    test_resources/toy-sqitch-grandfathered/verify/add-shape.sql
    test_resources/toy-sqitch-grandfathered/verify/init.sql
    test_resources/toy-sqitch-hardcoded-public/deploy/init.sql
    test_resources/toy-sqitch-hardcoded-public/revert/init.sql
    test_resources/toy-sqitch-hardcoded-public/sqitch.conf
    test_resources/toy-sqitch-hardcoded-public/sqitch.plan
    test_resources/toy-sqitch-hardcoded-public/verify/init.sql
    test_resources/toy-sqitch-non-idempotent/deploy/init.sql
    test_resources/toy-sqitch-non-idempotent/revert/init.sql
    test_resources/toy-sqitch-non-idempotent/sqitch.conf
    test_resources/toy-sqitch-non-idempotent/sqitch.plan
    test_resources/toy-sqitch-non-idempotent/verify/init.sql
    test_resources/toy-sqitch-ok/deploy/add-color.sql
    test_resources/toy-sqitch-ok/deploy/add-color@v1.sql
    test_resources/toy-sqitch-ok/deploy/init.sql
    test_resources/toy-sqitch-ok/revert/add-color.sql
    test_resources/toy-sqitch-ok/revert/add-color@v1.sql
    test_resources/toy-sqitch-ok/revert/init.sql
    test_resources/toy-sqitch-ok/sqitch.conf
    test_resources/toy-sqitch-ok/sqitch.plan
    test_resources/toy-sqitch-ok/verify/add-color.sql
    test_resources/toy-sqitch-ok/verify/add-color@v1.sql
    test_resources/toy-sqitch-ok/verify/init.sql

source-repository head
  type: git
  location: https://github.com/NorfairKing/sydtest

library
  exposed-modules:
      Test.Syd.Sqitch.Postgresql
      Test.Syd.Sqitch.Postgresql.Plan
      Test.Syd.Sqitch.Postgresql.Process
      Test.Syd.Sqitch.Postgresql.Schema
  other-modules:
      Paths_sydtest_sqitch_postgres
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , bytestring
    , containers
    , monad-logger
    , network-uri
    , path
    , persistent
    , postgres-options
    , random
    , sydtest
    , sydtest-persistent-postgresql
    , text
    , typed-process
  default-language: Haskell2010

test-suite sydtest-sqitch-postgres-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Test.Syd.Sqitch.Postgresql.PlanSpec
      Test.Syd.Sqitch.PostgresqlSpec
      Paths_sydtest_sqitch_postgres
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
  build-tool-depends:
      sydtest-discover:sydtest-discover
  build-depends:
      base >=4.7 && <5
    , bytestring
    , path
    , path-io
    , sydtest
    , sydtest-persistent-postgresql
    , sydtest-sqitch-postgres
    , text
    , unliftio
  default-language: Haskell2010