name:                postgres-embedded
version:             0.2.0
description:         Library for easily running embedded PostgreSQL server for tests. 
                     It downloads, runs, checks and stops PostgreSQL Database instance for you.
synopsis:            Library for easily running embedded PostgreSQL server for tests.
homepage:            https://github.com/ilya-murzinov/postgres-embedded
bug-reports:         https://github.com/ilya-murzinov/postgres-embedded/issues
license:             MIT
license-file:        LICENSE
author:              Ilya Murzinov
maintainer:          Ilya Murzinov <murz42@gmail.com>
copyright:           2017-2018 Ilya Murzinov and contributors
category:            Lib
build-type:          Simple
extra-doc-files:     README.md
                     CHANGES.txt
cabal-version:       >= 1.18
tested-with:         GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4

source-repository head
  type:     git
  location: https://github.com/ilya-murzinov/postgres-embedded.git

library
  hs-source-dirs:      src
  exposed-modules:     Database.PostgreSQL.Embedded
  other-modules:       Database.PostgreSQL.Embedded.Postgres
                     , Database.PostgreSQL.Embedded.Download
                     , Database.PostgreSQL.Embedded.Types
                     , Database.PostgreSQL.Embedded.Exec
  build-depends:       base >= 4 && < 5
                     , directory
                     , filepath
                     , network
                     , process
  ghc-options:         -Wall
  default-language:    Haskell2010

test-suite postgres-embedded-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , bytestring
                     , filepath
                     , postgres-embedded
                     , postgresql-simple
                     , process
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010