forked from avh4/elm-format
-
Notifications
You must be signed in to change notification settings - Fork 0
/
elm-format.cabal
204 lines (174 loc) · 4.47 KB
/
elm-format.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
Name: elm-format
version: 0.8.1
Synopsis:
A source code formatter for Elm
Description:
A simple way to format your Elm code according to the official
style guide.
Homepage:
http://elm-lang.org
License: BSD3
License-file: LICENSE
Author: Aaron VonderHaar
Maintainer: [email protected]
Copyright: See https://github.com/avh4/elm-format/blob/master/LICENSE
Category: Build Tool
build-type: Custom
Cabal-version: >=1.9
Extra-source-files: README.md
source-repository head
type: git
location: git://github.com/avh4/elm-format.git
custom-setup
setup-depends:
base,
Cabal,
directory,
filepath,
process
library
ghc-options:
-O2 -Wall -Wno-name-shadowing
hs-source-dirs:
src
parser/src
markdown
exposed-modules:
ElmFormat
ElmVersion
-- exposed for tests
AST.Declaration
AST.Expression
AST.Helpers
AST.Module
AST.Pattern
AST.V0_16
AST.Variable
Box
Elm.Utils
ElmFormat.Parse
ElmFormat.Render.Box
ElmFormat.Render.ElmStructure
ElmFormat.Render.Markdown
ElmFormat.Render.Text
ElmFormat.World
Parse.Expression
Parse.Helpers
Parse.IParser
Parse.Literal
Parse.Markdown
Parse.Pattern
Parse.Type
Reporting.Annotation
Reporting.Error.Syntax
Reporting.Region
Util.List
other-modules:
AST.Json
AST.MapExpr
AST.MapNamespace
Build_elm_format
Cheapskate.Inlines
Cheapskate.Parse
Cheapskate.ParserCombinators
Cheapskate.Types
Cheapskate.Util
CommandLine.Helpers
ElmFormat.Execute
ElmFormat.Filesystem
ElmFormat.FileStore
ElmFormat.FileWriter
ElmFormat.InputConsole
ElmFormat.Operation
ElmFormat.OutputConsole
ElmFormat.Upgrade_0_19
ElmFormat.Version
Flags
Messages.Formatter.Format
Messages.Formatter.HumanReadable
Messages.Formatter.Json
Messages.Strings
Messages.Types
Paths_elm_format
Parse.Binop
Parse.Common
Parse.Comments
Parse.Declaration
Parse.Module
Parse.Parse
Parse.State
Parse.Whitespace
Reporting.Report
Reporting.Result
ReversedList
build-depends:
ansi-terminal >= 0.8.0.2 && < 0.9,
ansi-wl-pprint >= 0.6.7.3 && < 0.7,
base >= 4.9.0.0 && < 5,
binary >= 0.8.3.0 && < 0.9,
bytestring >= 0.10.8.1 && < 0.11,
containers >= 0.5.7.1 && < 0.6,
directory >= 1.2.6.2 && < 2,
filepath >= 1.4.1.0 && < 2,
free >= 5.0.1 && < 6,
indents >= 0.3.3 && < 0.4,
json >= 0.9.1 && < 0.10,
mtl >= 2.2.1 && < 3,
optparse-applicative >= 0.14.2.0 && < 0.15,
parsec >= 3.1.11 && < 4,
process >= 1.4.2.0 && < 2,
split >= 0.2.3.1 && < 0.3,
text >= 1.2.2.1 && < 2
executable elm-format
ghc-options:
-threaded -O2 -Wall -Wno-name-shadowing
hs-source-dirs:
src-cli
main-is:
Main.hs
build-depends:
base >= 4.9.0.0 && < 5,
elm-format
test-Suite elm-format-tests
type:
exitcode-stdio-1.0
ghc-options:
-threaded -Wall -Wno-name-shadowing
hs-source-dirs:
tests
main-is:
Test.hs
other-modules:
BoxTest
CommonMarkTests
ElmFormat.Render.ElmStructureTest
ElmFormat.TestWorld
Integration.CliTest
Integration.LiteralTest
Parse.ExpressionTest
Parse.HelpersTest
Parse.LiteralTest
Parse.PatternTest
Parse.TestHelpers
Parse.TestHelpersTest
Parse.TypeTest
Test.ElmSourceGenerators
Test.Generators
Test.Property
Util.ListTest
build-depends:
tasty >= 1.0.1.1 && < 2,
tasty-golden >= 2.3.1.1 && < 3,
tasty-hunit >= 0.10.0.1 && < 0.11,
tasty-quickcheck >= 0.9.2 && < 0.10,
HUnit >= 1.3.1.2 && < 2,
QuickCheck >= 2.8.2 && < 3,
quickcheck-io >= 0.2.0 && < 0.3,
base >= 4.9.0.0 && < 5,
cmark >= 0.5.5 && < 0.6,
containers >= 0.5.7.1 && < 0.6,
mtl >= 2.2.1 && < 3,
parsec >= 3.1.11 && < 4,
split >= 0.2.3.1 && < 0.3,
text >= 1.2.2.1 && < 2,
elm-format