-- Initial morph.cabal generated by cabal init.  For further documentation,
--  see http://haskell.org/cabal/users-guide/

name:                  morph
version:               0.1.0.0
synopsis:              A simple database migrator for PostgreSQL
description:           Morph is a tool to migrate your PostgreSQL databases
                       safely which supports rollbacks.
license:               BSD3
license-file:          LICENSE
author:                Thomas Feron
maintainer:            tho.feron@gmail.com
build-type:            Simple
cabal-version:         >=1.10

source-repository head
  type:                darcs
  location:            http://darcs.redspline.com/morph
  tag:                 0.1.0.0

library
  hs-source-dirs:      src
  ghc-options:         -Wall
  default-language:    Haskell2010

  default-extensions:  OverloadedStrings

  exposed-modules:     Morph.Config
                       Morph.Migrator
                       Morph.Options

  build-depends:       base >=4.8 && <4.9
                     , optparse-applicative ==0.12.*
                     , aeson
                     , yaml
                     , postgresql-simple
                     , bytestring
                     , text
                     , directory
                     , filepath

executable morph
  main-is:             Main.hs
  hs-source-dirs:      .
  ghc-options:         -Wall
  default-language:    Haskell2010
  build-depends:       base >=4.8 && <4.9
                     , morph