Skip to content

Commit

Permalink
pass cabal check
Browse files Browse the repository at this point in the history
  • Loading branch information
dag committed May 19, 2012
1 parent 26bb8aa commit a4aff1f
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
24 changes: 24 additions & 0 deletions LICENSE
@@ -0,0 +1,24 @@
Copyright (c) 2012, Dag Odenhall
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
2 changes: 2 additions & 0 deletions Setup.hs
@@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain
31 changes: 31 additions & 0 deletions happstack-yui.cabal.in
@@ -1,13 +1,44 @@
Name : happstack-yui
Version : 7351.0.0
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 3.5.1 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 is embedded in the library with Template Haskell
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.
.
In a future release, the plan is to add more utilities than just a
bundled YUI, for example a combo handler for YUI modules written using
JMacro, a bridge between HSX and YUI Node objects and tools for working
with the YUI CSS modules.

Data-Files : {
#include "bundle.h"
}

Source-Repository head
Type : git
Location : git://github.com/dag/happstack-yui.git

Library
HS-Source-Dirs : src
Default-Language : Haskell2010
Expand Down

0 comments on commit a4aff1f

Please sign in to comment.