-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
143 lines (127 loc) · 4.13 KB
/
package.yaml
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
name: jsq
version: 0.0.1
github: "cyberglot/jsq"
synopsis: QuasiQuotation library for programmatic generation of JavaScript code.
description: JavaScript syntax, functional syntax, hygienic names, compile-time guarantees of syntactic correctness, limited typechecking.
category: Language
license: BSD3
license-file: LICENSE
author: April Gonçalves, Gershom Bazerman
maintainer: [email protected]
copyright: 2021, cyberglot. Gershom Bazerman 2009.
extra-source-files:
- Readme.org
dependencies:
- base >= 4.9 && < 5
- containers
- wl-pprint-text
- text
- safe >= 0.2
- parsec > 3.0
- template-haskell >= 2.3
- mtl > 1.1
- haskell-src-exts
- haskell-src-meta
- bytestring >= 0.9
- syb
- aeson >= 0.5
- regex-posix > 0.9
- vector >= 0.8
- unordered-containers >= 0.2
- pretty
- time
- json
- blaze-html
when:
condition: flag(incomplete-error)
ghc-options:
- -Werror=incomplete-patterns
- -Werror=missing-fields
- -Werror=missing-methods
default-extensions:
- FlexibleInstances
- UndecidableInstances
- OverloadedStrings
- TypeFamilies
- RankNTypes
- DeriveDataTypeable
- StandaloneDeriving
- FlexibleContexts
- TypeSynonymInstances
- ScopedTypeVariables
- GADTs
- GeneralizedNewtypeDeriving
- LambdaCase
- TemplateHaskell
- QuasiQuotes
flags:
incomplete-error:
description: >
Incomplete patterns, missing record fields, and missing class methods are
an error
manual: true
default: false
library:
source-dirs: src
executables:
jsq-exe:
source-dirs: app
main: Main.hs
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- jsq
- parseargs
benchmarks:
jsq-bench:
main: Main.hs
source-dirs: bench
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- jsq
- criterion
# library
# build-depends: base >= 4.9, base < 5, containers, wl-pprint-text, text, safe >= 0.2, parsec > 3.0, template-haskell >= 2.3, mtl > 1.1 , haskell-src-exts, haskell-src-meta, bytestring >= 0.9, syb, aeson >= 0.5 , regex-posix > 0.9, vector >= 0.8, unordered-containers >= 0.2
# exposed-modules: Language.JavaScript.JSQ
# Language.JavaScript.JSQ.Util
# Language.JavaScript.JSQ.TypeCheck
# Language.JavaScript.JSQ.Types
# Language.JavaScript.JSQ.Prelude
# other-modules: Language.JavaScript.JSQ.Base
# Language.JavaScript.JSQ.QQ
# Language.JavaScript.JSQ.ParseTH
# ghc-options: -Wall
# flag benchmarks
# description: Build the benchmarks
# default: False
# executable jsq
# build-depends: base >= 4, base < 5, containers, wl-pprint-text, text, safe >= 0.2, parsec > 3.0, template-haskell >= 2.3, mtl > 1.1 , haskell-src-exts, haskell-src-meta, bytestring >= 0.9, syb, aeson >= 0.5 , regex-posix > 0.9, vector >= 0.8, unordered-containers >= 0.2, parseargs
# main-is: Language/JavaScript/JSQ/Executable.hs
# other-modules: Language.JavaScript.Jsq.Util
# Language.JavaScript.Jsq.TypeCheck
# Language.JavaScript.Jsq.Types
# Language.JavaScript.Jsq.Prelude
# Language.JavaScript.Jsq.Base
# Language.JavaScript.Jsq.QQ
# Language.JavaScript.Jsq.ParseTH
# Language.JavaScript.Jsq
# executable jsq-bench
# main-is: Language/JavaScript/Jsq/Benchmark.hs
# if flag(benchmarks)
# buildable: True
# build-depends: criterion
# other-modules: Language.JavaScript.Jsq.Util
# Language.JavaScript.Jsq.TypeCheck
# Language.JavaScript.Jsq.Types
# Language.JavaScript.Jsq.Prelude
# Language.JavaScript.Jsq.Base
# Language.JavaScript.Jsq.QQ
# Language.JavaScript.Jsq.ParseTH
# Language.JavaScript.Jsq
# else
# buildable: False