on e123780 help sign in
elk/Elm.cabal
300 lines 11 kB history raw
1Name: Elm
2Version: 0.12.3
3Synopsis: The Elm language module.
4Description: Elm aims to make client-side web-development more pleasant.
5 It is a statically/strongly typed, functional reactive
6 language to HTML, CSS, and JS. This package provides a
7 library for Elm compilation in Haskell and a compiler
8 executable.
10Homepage: http://elm-lang.org
12License: BSD3
13License-file: LICENSE
15Author: Evan Czaplicki
16Maintainer: info@elm-lang.org
17Copyright: Copyright: (c) 2011-2014 Evan Czaplicki
19Category: Compiler, Language
21Build-type: Custom
23Extra-source-files: changelog.md
24Data-dir: data
25Data-files: elm-runtime.js interfaces.data docs.json
26Cabal-version: >=1.9
28source-repository head
29 type: git
30 location: git://github.com/elm-lang/Elm.git
32Library
33 exposed-modules: Elm.Internal.Dependencies,
34 Elm.Internal.Documentation,
35 Elm.Internal.Name,
36 Elm.Internal.Paths,
37 Elm.Internal.Utils,
38 Elm.Internal.Version
39 Hs-Source-Dirs: compiler
40 other-modules: SourceSyntax.Annotation,
41 SourceSyntax.Declaration,
42 SourceSyntax.Expression,
43 SourceSyntax.Helpers,
44 SourceSyntax.Literal,
45 SourceSyntax.Module,
46 SourceSyntax.Pattern,
47 SourceSyntax.PrettyPrint,
48 SourceSyntax.Type,
49 SourceSyntax.Variable,
50 Generate.JavaScript,
51 Generate.JavaScript.Helpers,
52 Generate.JavaScript.Ports,
53 Generate.Markdown,
54 Generate.Html,
55 Generate.Cases,
56 Transform.Canonicalize,
57 Transform.Check,
58 Transform.Expression,
59 Transform.Declaration,
60 Transform.Definition,
61 Transform.SafeNames,
62 Transform.SortDefinitions,
63 Transform.Substitute,
64 Metadata.Prelude,
65 Parse.Binop,
66 Parse.Declaration,
67 Parse.Expression,
68 Parse.Helpers,
69 Parse.Literal,
70 Parse.Module,
71 Parse.Parse,
72 Parse.Pattern,
73 Parse.Type,
74 Type.Alias,
75 Type.Constrain.Declaration,
76 Type.Constrain.Expression,
77 Type.Constrain.Literal,
78 Type.Constrain.Pattern,
79 Type.Environment,
80 Type.ExtraChecks,
81 Type.Fragment,
82 Type.Inference,
83 Type.PrettyPrint,
84 Type.Solve,
85 Type.State,
86 Type.Type,
87 Type.Unify,
88 Build.Dependencies,
89 Build.File,
90 Build.Flags,
91 Build.Interface,
92 Build.Print,
93 Build.Source,
94 Build.Utils,
95 Paths_Elm
97 Build-depends: aeson,
98 aeson-pretty,
99 base >=4.2 && <5,
100 binary >= 0.7.0.0,
101 blaze-html >= 0.5 && < 0.8,
102 blaze-markup,
103 bytestring,
104 cmdargs,
105 containers >= 0.3,
106 directory,
107 filepath,
108 indents,
109 language-ecmascript >=0.15 && < 1.0,
110 language-glsl >= 0.0.2,
111 mtl >= 2,
112 pandoc >= 1.10,
113 parsec >= 3.1.1,
114 pretty,
115 scientific,
116 text,
117 transformers >= 0.2,
118 union-find,
119 unordered-containers,
120 yaml
122Executable elm
123 Main-is: Compiler.hs
124 ghc-options: -threaded -O2
125 Hs-Source-Dirs: compiler
126 other-modules: SourceSyntax.Annotation,
127 SourceSyntax.Declaration,
128 SourceSyntax.Expression,
129 SourceSyntax.Helpers,
130 SourceSyntax.Literal,
131 SourceSyntax.Module,
132 SourceSyntax.Pattern,
133 SourceSyntax.PrettyPrint,
134 SourceSyntax.Type,
135 SourceSyntax.Variable,
136 Generate.JavaScript,
137 Generate.JavaScript.Helpers,
138 Generate.JavaScript.Ports,
139 Generate.Markdown,
140 Generate.Html,
141 Generate.Cases,
142 Transform.Canonicalize,
143 Transform.Check,
144 Transform.Expression,
145 Transform.Declaration,
146 Transform.Definition,
147 Transform.SafeNames,
148 Transform.SortDefinitions,
149 Transform.Substitute,
150 Metadata.Prelude,
151 Parse.Binop,
152 Parse.Declaration,
153 Parse.Expression,
154 Parse.Helpers,
155 Parse.Literal,
156 Parse.Module,
157 Parse.Parse,
158 Parse.Pattern,
159 Parse.Type,
160 Type.Alias,
161 Type.Constrain.Declaration,
162 Type.Constrain.Expression,
163 Type.Constrain.Literal,
164 Type.Constrain.Pattern,
165 Type.Environment,
166 Type.ExtraChecks,
167 Type.Fragment,
168 Type.Inference,
169 Type.PrettyPrint,
170 Type.Solve,
171 Type.State,
172 Type.Type,
173 Type.Unify,
174 Build.Dependencies,
175 Build.File,
176 Build.Flags,
177 Build.Interface,
178 Build.Print,
179 Build.Source,
180 Build.Utils,
181 Paths_Elm
183 Build-depends: aeson,
184 aeson-pretty,
185 base >=4.2 && <5,
186 binary >= 0.7.0.0,
187 blaze-html >= 0.5 && < 0.8,
188 blaze-markup,
189 bytestring,
190 cmdargs,
191 containers >= 0.3,
192 directory,
193 filepath,
194 indents,
195 language-ecmascript >=0.15 && < 1.0,
196 language-glsl >= 0.0.2,
197 mtl >= 2,
198 pandoc >= 1.10,
199 parsec >= 3.1.1,
200 scientific,
201 pretty,
202 text,
203 transformers >= 0.2,
204 union-find,
205 unordered-containers,
206 yaml
208Executable elm-doc
209 Main-is: Docs.hs
210 Hs-Source-Dirs: compiler
211 other-modules: SourceSyntax.Annotation,
212 SourceSyntax.Declaration,
213 SourceSyntax.Expression,
214 SourceSyntax.Helpers,
215 SourceSyntax.Literal,
216 SourceSyntax.Module,
217 SourceSyntax.Pattern,
218 SourceSyntax.PrettyPrint,
219 SourceSyntax.Type,
220 SourceSyntax.Variable,
221 Parse.Binop,
222 Parse.Declaration,
223 Parse.Expression,
224 Parse.Helpers,
225 Parse.Literal,
226 Parse.Module,
227 Parse.Pattern,
228 Parse.Type
230 Build-depends: aeson,
231 aeson-pretty,
232 base >=4.2 && <5,
233 binary >= 0.7.0.0,
234 bytestring,
235 cmdargs,
236 containers >= 0.3,
237 directory,
238 filepath,
239 indents,
240 language-glsl >= 0.0.2,
241 mtl >= 2,
242 pandoc >= 1.10,
243 parsec >= 3.1.1,
244 pretty,
245 scientific,
246 text,
247 union-find,
248 yaml
250Test-Suite compiler-tests
251 Type: exitcode-stdio-1.0
252 Hs-Source-Dirs: tests/compiler, compiler
253 Main-is: CompilerTest.hs
254 other-modules: Tests.Compiler
255 Tests.Property
256 Tests.Property.Arbitrary
257 SourceSyntax.Helpers
258 SourceSyntax.Literal
259 SourceSyntax.PrettyPrint
260 build-depends: test-framework,
261 test-framework-hunit,
262 test-framework-quickcheck2 >= 0.3,
263 HUnit,
264 QuickCheck >= 2 && < 3,
265 aeson,
266 aeson-pretty,
267 base >=4.2 && <5,
268 binary >= 0.7.0.0,
269 blaze-html,
270 blaze-markup,
271 bytestring,
272 cmdargs,
273 containers >= 0.3,
274 directory,
275 Elm,
276 filemanip,
277 filepath,
278 indents,
279 language-ecmascript >=0.15 && < 1.0,
280 language-glsl >= 0.0.2,
281 mtl >= 2,
282 pandoc >= 1.10,
283 parsec >= 3.1.1,
284 pretty,
285 scientific,
286 text,
287 transformers >= 0.2,
288 union-find,
289 unordered-containers,
290 yaml
292Test-Suite library-tests
293 Type: exitcode-stdio-1.0
294 Hs-Source-Dirs: tests/libraries
295 Main-is: LibraryTest.hs
296 build-depends: base,
297 directory,
298 Elm,
299 filepath,
300 process