-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhappstack-yui.cabal.in
More file actions
93 lines (87 loc) · 3.21 KB
/
Copy pathhappstack-yui.cabal.in
File metadata and controls
93 lines (87 loc) · 3.21 KB
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
Name : happstack-yui
Version : 7372.5.1
Category : Web, Happstack
Synopsis : Utilities for using YUI3 with Happstack.
Homepage : https://github.com/dag/happstack-yui
License : BSD3
License-File : LICENSE
Maintainer : dag.odenhall@gmail.com
Cabal-Version : >= 1.10
Build-Type : Simple
Description :
Bundles YUI YUI_VERSION and includes a \"combo handler\" for use in
Happstack which concatenates YUI modules server-side to send in a single
HTTP request. The YUI bundle can be embedded in compiled code with
Template Haskell (install with @-fembed@) which means the files are
served directly from memory, and also that you can compile and deploy a
single executable without having to worry about deploying the YUI files
as well.
.
The benefits of using this over the Yahoo! CDN is that you can work
offline and that you can host YUI yourself without sacrificing the
benefits of \"combo loading\".
.
The versioning scheme of this package is that the first part is the
targeted Happstack series plus the bundled YUI version, such that 7351
means \"Happstack 7, YUI 3.5.1\". The second part is the major version
of this package itself, as defined by the Package Versioning Policy.
.
The package also includes some utilities for working with the YUI CSS
modules and for using HSX to create YUI Node objects with JMacro. In a
future release, the plan is to add more utilities, for example a combo
handler for YUI modules written using JMacro, tools for making it
easier to work with modules like Uploader and Pjax and a quasi-quoter for
compile-time syntax checked YQL queries.
.
For an example application, see:
<https://github.com/dag/happstack-yui/blob/master/demo/happstack-yui-demo.hs>
Data-Files : {
#include "bundle.h"
}
Flag embed
Description : Embed the YUI bundle in compiled code.
Default : False
Source-Repository head
Type : git
Location : git://github.com/dag/happstack-yui.git
Library
HS-Source-Dirs : src
Default-Language : Haskell2010
GHC-Options : -Wall
Exposed-Modules :
Happstack.Server.YUI
Other-Modules :
Happstack.Server.YUI.Bundle
Build-Depends :
base >= 4.3 && < 4.7,
boomerang == 1.3.*,
bytestring >= 0.9 && < 0.11,
containers >= 0.4 && < 0.6,
happstack-jmacro == 7.0.*,
happstack-server == 7.0.*,
hsp == 0.7.*,
interpolatedstring-perl6 == 0.9.*,
jmacro == 0.5.*,
mtl >= 2.0 && < 2.2,
pretty == 1.1.*,
template-haskell >= 2.5 && < 2.9,
text == 0.11.*,
web-routes == 0.27.*,
web-routes-boomerang == 0.27.*,
web-routes-happstack == 0.23.*,
web-routes-th >= 0.21 && < 0.23
if !flag(embed)
CPP-Options :
-DYUI_VERSION=YUI_VERSION
-DYUI_VERSION_STR=YUI_VERSION_STR
Other-Modules :
Paths_happstack_yui
Build-Depends :
directory == 1.1.*
else
CPP-Options :
-DYUI_VERSION=YUI_VERSION
-DYUI_VERSION_STR=YUI_VERSION_STR
-DEMBED
Build-Depends :
file-embed == 0.0.*