forked from andrevdm/postgresql-migration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
postgresql-migration.cabal
106 lines (91 loc) · 4.76 KB
/
postgresql-migration.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
cabal-version: 3.0
name: postgresql-migration
version: 0.2.1.3
synopsis: PostgreSQL Schema Migrations
homepage: https://github.com/andrevdm/postgresql-migration
Bug-reports: https://github.com/andrevdm/postgresql-migration/issues
license: BSD-3-Clause
license-file: License
author: Andreas Meingast <[email protected]>
maintainer: Andre Van Der Merwe <[email protected]>
copyright: 2014-2021, Andreas Meingast
category: Database
build-type: Simple
description: A PostgreSQL-simple schema migration utility
tested-with: GHC==9.0.1, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4
extra-source-files: License
Readme.markdown
Changelog.markdown
share/test/*.sql
share/test/scripts/*.sql
source-repository head
type: git
location: git://github.com/andrevdm/postgresql-migration
common common-options
build-depends:
base >=4.9 && <5
default-language:
Haskell2010
common common-ghc-options-ide
ghc-options: -fwrite-ide-info -hiedir=.hie
common common-ghc-options
ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat -Wredundant-constraints -Wnoncanonical-monad-instances -Widentities -fhide-source-paths -Wpartial-fields -fhide-source-paths -freverse-errors
library
import: common-options
import: common-ghc-options
if impl(ghc >= 8.8.1)
import: common-ghc-options-ide
exposed-modules: Database.PostgreSQL.Simple.Migration
, Database.PostgreSQL.Simple.Migration.V1Compat
, Database.PostgreSQL.Simple.Util
other-modules: Paths_postgresql_migration
autogen-modules: Paths_postgresql_migration
hs-source-dirs: src
default-language: Haskell2010
build-depends: base >= 4.9 && < 5.0
, base64-bytestring >= 1.0 && < 1.3
, bytestring >= 0.10 && < 0.12
, cryptohash >= 0.11 && < 0.12
, directory >= 1.2 && < 1.4
, filepath >= 1.4.1.0 && < 1.4.3.0
, postgresql-simple >= 0.4 && < 0.7
, time >= 1.4 && < 1.12
, text >= 1.2 && < 1.3
executable migrate
import: common-options
import: common-ghc-options
if impl(ghc >= 8.8.1)
import: common-ghc-options-ide
ghc-options: -threaded
main-is: Main.hs
other-modules: Paths_postgresql_migration
autogen-modules: Paths_postgresql_migration
hs-source-dirs: app
default-language: Haskell2010
build-depends: postgresql-migration
, base >= 4.9 && < 5.0
, base64-bytestring >= 1.0 && < 1.3
, bytestring >= 0.10 && < 0.12
, cryptohash >= 0.11 && < 0.12
, directory >= 1.2 && < 1.4
, postgresql-simple >= 0.4 && < 0.7
, time >= 1.4 && < 1.12
, text >= 1.2 && < 1.3
test-suite tests
import: common-options
import: common-ghc-options
if impl(ghc >= 8.8.1)
import: common-ghc-options-ide
main-is: Main.hs
hs-source-dirs: test
other-modules: Database.PostgreSQL.Simple.MigrationTest
, Database.PostgreSQL.Simple.MigrationTestV1Compat
, Database.PostgreSQL.Simple.TransactionPerRunTest
, Database.PostgreSQL.Simple.TransactionPerStepTest
default-language: Haskell2010
type: exitcode-stdio-1.0
build-depends: postgresql-migration
, base >= 4.9 && < 5.0
, bytestring >= 0.10 && < 0.12
, postgresql-simple >= 0.4 && < 0.7
, hspec >= 2.2 && <= 2.10.0