-
Notifications
You must be signed in to change notification settings - Fork 10
/
stache.cabal
165 lines (145 loc) · 4.17 KB
/
stache.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
cabal-version: 2.4
name: stache
version: 2.3.4
license: MIT
license-file: LICENSE
maintainer: Mark Karpov <[email protected]>
author: Mark Karpov <[email protected]>
tested-with: ghc ==9.6.3 ghc ==9.8.2 ghc ==9.10.1
homepage: https://github.com/stackbuilders/stache
bug-reports: https://github.com/stackbuilders/stache/issues
synopsis: Mustache templates for Haskell
description: Mustache templates for Haskell.
category: Text
build-type: Simple
data-files:
bench-data/*.mustache
specification/*.yml
templates/*.mustache
extra-doc-files:
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUITING.md
README.md
source-repository head
type: git
location: https://github.com/stackbuilders/stache.git
flag dev
description: Turn on development settings.
default: False
manual: True
library
exposed-modules:
Text.Mustache
Text.Mustache.Compile
Text.Mustache.Compile.TH
Text.Mustache.Parser
Text.Mustache.Render
Text.Mustache.Type
default-language: GHC2021
build-depends:
aeson >=2 && <3,
base >=4.15 && <5,
containers >=0.5 && <0.8,
deepseq >=1.4 && <1.6,
directory >=1.2 && <1.4,
filepath >=1.2 && <1.6,
megaparsec >=7 && <10,
mtl >=2.1 && <3,
template-haskell >=2.11 && <2.23,
text >=1.2 && <2.2,
vector >=0.11 && <0.14
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall
executable stache
main-is: Main.hs
hs-source-dirs: app
other-modules: Paths_stache
autogen-modules: Paths_stache
default-language: GHC2021
build-depends:
aeson >=2 && <3,
base >=4.15 && <5,
gitrev >=1.3 && <1.4,
optparse-applicative >=0.14 && <0.19,
stache,
text >=0.2 && <2.2,
yaml >=0.8 && <0.12,
filepath >=1.2 && <1.6
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages -Wno-unused-imports
else
ghc-options: -O2 -Wall
test-suite tests
type: exitcode-stdio-1.0
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover >=2 && <3
hs-source-dirs: tests
other-modules:
Text.Mustache.Compile.THSpec
Text.Mustache.ParserSpec
Text.Mustache.RenderSpec
Text.Mustache.TypeSpec
default-language: GHC2021
build-depends:
aeson >=2 && <3,
base >=4.15 && <5,
containers >=0.5 && <0.8,
hspec >=2 && <3,
hspec-megaparsec >=2 && <3,
megaparsec >=7 && <10,
stache,
text >=1.2 && <2.2
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall
test-suite mustache-spec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: mustache-spec
default-language: GHC2021
build-depends:
aeson >=2 && <3,
base >=4.15 && <5,
bytestring >=0.10 && <0.13,
containers >=0.5 && <0.8,
file-embed,
hspec >=2 && <3,
megaparsec >=7 && <10,
stache,
text >=1.2 && <2.2,
yaml >=0.8 && <0.12
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
default-language: GHC2021
build-depends:
aeson >=2 && <3,
base >=4.15 && <5,
criterion >=0.6.2.1 && <1.7,
deepseq >=1.4 && <1.6,
megaparsec >=7 && <10,
stache,
text >=1.2 && <2.2
if flag(dev)
ghc-options:
-Wall -Werror -Wredundant-constraints -Wpartial-fields
-Wunused-packages
else
ghc-options: -O2 -Wall