forked from JakeWheat/simple-sql-parser
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsimple-sql-parser.cabal
146 lines (131 loc) · 5.51 KB
/
simple-sql-parser.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
name: simple-sql-parser
version: 0.6.0
synopsis: A parser for SQL.
description:
A parser for SQL. Parses most SQL:2011
queries, non-query DML, DDL, access control and
transaction management syntax. Please see the
homepage for more information
<http://jakewheat.github.io/simple-sql-parser/latest>.
homepage: http://jakewheat.github.io/simple-sql-parser/latest
license: BSD3
license-file: LICENSE
author: Jake Wheat
maintainer: [email protected]
copyright: Copyright Jake Wheat 2013, 2014, 2015
category: Database,Language
build-type: Simple
extra-source-files: README,LICENSE,changelog
cabal-version: >=1.10
bug-reports: https://github.com/JakeWheat/simple-sql-parser/issues
source-repository head
type: git
location: https://github.com/JakeWheat/simple-sql-parser.git
Flag parserexe
Description: Build SimpleSqlParserTool exe
Default: False
Flag fixitytest
Description: Build fixity test exe
Default: False
library
exposed-modules: Language.SQL.SimpleSQL.Pretty,
Language.SQL.SimpleSQL.Parse,
Language.SQL.SimpleSQL.Lex,
Language.SQL.SimpleSQL.Syntax,
Language.SQL.SimpleSQL.Dialect
Other-Modules: Language.SQL.SimpleSQL.Errors,
Language.SQL.SimpleSQL.Combinators
build-depends: base >=4 && <5,
megaparsec >=9,
parser-combinators,
mtl >=2.1,
pretty >= 1.1,
containers,
text
-- hs-source-dirs:
default-language: Haskell2010
ghc-options: -Wall
other-extensions: TupleSections,DeriveDataTypeable
Test-Suite Tests
type: exitcode-stdio-1.0
main-is: RunTests.lhs
hs-source-dirs: .,tools
Build-Depends: base >=4 && <5,
megaparsec >=8,
parser-combinators,
mtl >=2.1,
pretty >= 1.1,
tasty >= 1.1,
tasty-hunit >= 0.9,
containers,
text
Other-Modules: Language.SQL.SimpleSQL.Pretty,
Language.SQL.SimpleSQL.Parse,
Language.SQL.SimpleSQL.Lex,
Language.SQL.SimpleSQL.Syntax,
Language.SQL.SimpleSQL.Errors,
Language.SQL.SimpleSQL.Combinators,
Language.SQL.SimpleSQL.Dialect
Language.SQL.SimpleSQL.ErrorMessages,
Language.SQL.SimpleSQL.FullQueries,
Language.SQL.SimpleSQL.GroupBy,
Language.SQL.SimpleSQL.MySQL,
Language.SQL.SimpleSQL.Postgres,
Language.SQL.SimpleSQL.Odbc,
Language.SQL.SimpleSQL.Oracle,
Language.SQL.SimpleSQL.QueryExprComponents,
Language.SQL.SimpleSQL.QueryExprs,
Language.SQL.SimpleSQL.SQL2011Queries,
Language.SQL.SimpleSQL.SQL2011AccessControl,
Language.SQL.SimpleSQL.SQL2011Bits,
Language.SQL.SimpleSQL.SQL2011DataManipulation,
Language.SQL.SimpleSQL.SQL2011Schema,
Language.SQL.SimpleSQL.TableRefs,
Language.SQL.SimpleSQL.TestTypes,
Language.SQL.SimpleSQL.Tests,
Language.SQL.SimpleSQL.Tpch,
Language.SQL.SimpleSQL.ScalarExprs,
Language.SQL.SimpleSQL.LexerTests,
Language.SQL.SimpleSQL.CustomDialect
other-extensions: TupleSections,DeriveDataTypeable
default-language: Haskell2010
ghc-options: -Wall -threaded
executable SimpleSqlParserTool
main-is: SimpleSqlParserTool.lhs
hs-source-dirs: .,tools
Build-Depends: base >=4 && <5,
megaparsec >=8,
mtl >=2.1,
pretty >= 1.1,
pretty-show >= 1.6
other-extensions: TupleSections,DeriveDataTypeable
default-language: Haskell2010
ghc-options: -Wall
Other-Modules: Language.SQL.SimpleSQL.Combinators
Language.SQL.SimpleSQL.Dialect
Language.SQL.SimpleSQL.Errors
Language.SQL.SimpleSQL.Lex
Language.SQL.SimpleSQL.Parse
Language.SQL.SimpleSQL.Pretty
Language.SQL.SimpleSQL.Syntax
if flag(parserexe)
buildable: True
else
buildable: False
executable Fixity
main-is: Fixity.lhs
hs-source-dirs: .,tools
Build-Depends: base >=4 && <5,
megaparsec >=8,
mtl >=2.1,
pretty >= 1.1,
pretty-show >= 1.6,
tasty >= 1.1,
tasty-hunit >= 0.9
other-extensions: TupleSections,DeriveDataTypeable
default-language: Haskell2010
ghc-options: -Wall
if flag(fixitytest)
buildable: True
else
buildable: False