-
Notifications
You must be signed in to change notification settings - Fork 76
/
shakespeare.cabal
153 lines (135 loc) · 4.94 KB
/
shakespeare.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
name: shakespeare
version: 2.1.2
license: MIT
license-file: LICENSE
author: Michael Snoyman <[email protected]>
maintainer: Michael Snoyman <[email protected]>
synopsis: A toolkit for making compile-time interpolated templates
description:
Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass.
.
Shakespeare templates can be used inline with a quasi-quoter or in an external file.
.
Note there is no dependency on haskell-src-extras. Instead Shakespeare believes logic should stay out of templates and has its own minimal Haskell parser.
.
Packages that use this: xml-hamlet
.
Please see the documentation at <http://www.yesodweb.com/book/shakespearean-templates> for more details.
category: Web, Yesod
stability: Stable
cabal-version: >= 1.10
build-type: Simple
homepage: http://www.yesodweb.com/book/shakespearean-templates
extra-source-files:
test/reload.txt
test/texts/*.text
test/juliuses/*.julius
test/juliuses/*.coffee
test-messages/*.msg
test/cassiuses/*.cassius
test/cassiuses/*.lucius
test/hamlets/*.hamlet
test/tmp.hs
ChangeLog.md
library
default-language: Haskell2010
build-depends: base >= 4.11 && < 5
, time >= 1
, containers
, template-haskell >= 2.7
, parsec >= 2 && < 4
, text >= 0.7
, process >= 1.0
, ghc-prim
, bytestring
, directory >= 1.2
, aeson < 3
, blaze-markup
, blaze-html
, exceptions
, file-embed >= 0.0.1 && < 0.1
, transformers
, vector
, unordered-containers
, scientific >= 0.3.0.0
, th-lift
exposed-modules: Text.Shakespeare.I18N
Text.Shakespeare.Text
Text.Roy
Text.Julius
Text.Coffee
Text.Hamlet
Text.Hamlet.RT
Text.Hamlet.Runtime
Text.Lucius
Text.Lucius.Ordered
Text.Cassius
Text.Cassius.Ordered
Text.Shakespeare.Base
Text.Shakespeare
Text.TypeScript
Text.Internal.Cassius
Text.Internal.Css
Text.Internal.CssCommon
Text.Internal.Lucius
other-modules: Text.Hamlet.Parse
Text.MkSizeType
Text.IndentToBrace
ghc-options: -Wall
if flag(test_export)
cpp-options: -DTEST_EXPORT
if os(windows)
CPP-Options: "-DWINDOWS"
if flag(test_coffee)
cpp-options: -DTEST_COFFEE
if flag(test_roy)
cpp-options: -DTEST_ROY
if flag(test_export)
cpp-options: -DTEST_EXPORT
Flag test_export
default: False
flag test_coffee
description: render tests through coffeescript render function
-- cabal configure --enable-tests -ftest_coffee && cabal build && dist/build/test/test
default: False
flag test_roy
description: render tests through roy render function
-- cabal configure --enable-tests -ftest_roy && cabal build && dist/build/test/test
default: False
test-suite test
default-language: Haskell2010
hs-source-dirs: test
main-is: Spec.hs
other-modules: Text.Shakespeare.BaseSpec
Text.Shakespeare.I18NSpec
Text.Shakespeare.TextSpec
Text.Shakespeare.BuilderQQ
Text.CssSpec
Text.HamletSpec
Text.JuliusSpec
Quoter
HamletTestTypes
cpp-options: -DTEST_EXPORT
type: exitcode-stdio-1.0
ghc-options: -Wall
build-depends: base >= 4.9 && < 5
, shakespeare
, time >= 1
, containers
, parsec >= 2 && < 4
, hspec == 2.*
, text >= 0.7
, process
, template-haskell >= 2.7
, ghc-prim
, HUnit
, bytestring
, directory
, aeson
, transformers
, blaze-markup
, blaze-html
, exceptions
source-repository head
type: git
location: https://github.com/yesodweb/shakespeare.git