-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cutsea110
committed
Mar 1, 2011
1 parent
ebab106
commit b4f09b4
Showing
3 changed files
with
95 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
The following license covers this documentation, and the source code, except | ||
where otherwise indicated. | ||
Copyright (c)2011, Katsutoshi Itoh | ||
|
||
Copyright 2010, Katsutoshi Itoh. All rights reserved. | ||
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 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. | ||
* 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 "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 HOLDERS 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. | ||
* Neither the name of Katsutoshi Itoh nor the names of other | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
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 | ||
OWNER 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#!/usr/bin/env runhaskell | ||
import Distribution.Simple | ||
main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,73 @@ | ||
name: kestrel | ||
version: 0.0.0 | ||
license: BSD3 | ||
license-file: LICENSE | ||
author: Katsutoshi Itoh | ||
maintainer: Katsutoshi Itoh | ||
synopsis: The greatest Yesod web application ever. | ||
description: I'm sure you can say something clever here if you try. | ||
category: Web | ||
stability: Experimental | ||
cabal-version: >= 1.6 | ||
build-type: Simple | ||
homepage: http://kestrel.yesodweb.com/ | ||
Name: kestrel | ||
Version: 0.1 | ||
Synopsis: the yesod web application. | ||
Homepage: https://github.com/cutsea110/Kestrel | ||
License: BSD3 | ||
License-file: LICENSE | ||
Author: Katsutoshi Itoh | ||
Maintainer: cutsea110@gmail.com | ||
Category: Web | ||
Build-type: Simple | ||
Cabal-version: >=1.6 | ||
Executable kestrel | ||
cpp-options: -DPRODUCTION | ||
Main-is: production.hs | ||
ghc-options: -Wall -threaded | ||
|
||
Data-files: favicon.ico | ||
, hamlet/*.hamlet | ||
, cassius/*.cassius | ||
, julius/*.julius | ||
, static/*.css | ||
, static/images/*.png | ||
, static/img/*.png | ||
, static/img/*.gif | ||
, static/js/*.js | ||
, static/plugins/watermark/*.js | ||
, static/plugins/exinplaceeditor/*.js | ||
, static/plugins/exinplaceeditor/*.gif | ||
, static/plugins/upload/*.js | ||
, static/plugins/bubbleup/*.js | ||
|
||
Flag production | ||
Description: Build the production executable. | ||
Default: False | ||
|
||
executable kestrel-test | ||
if flag(production) | ||
Buildable: False | ||
main-is: kestrel.hs | ||
build-depends: base >= 4 && < 5 | ||
, yesod >= 0.7 && < 0.8 | ||
, yesod-auth | ||
, mtl >= 2.0.1.0 | ||
, yesod-auth-oauth >= 0.2 | ||
, mime-mail >= 0.0 && < 0.1 | ||
, wai-extra | ||
, directory | ||
, bytestring | ||
, text | ||
, persistent >= 0.3.1.1 | ||
, persistent-postgresql | ||
, template-haskell | ||
, hamlet | ||
, web-routes | ||
, hjsmin >= 0.0.12 && < 0.1 | ||
, web-encodings == 0.3.0.4 | ||
, highlighting-kate | ||
, pandoc | ||
, split | ||
, utility-ht | ||
, Diff | ||
, yesod-auth-oauth | ||
, transformers | ||
, warp | ||
ghc-options: -Wall -threaded | ||
|
||
executable kestrel-production | ||
if flag(production) | ||
Buildable: True | ||
else | ||
Buildable: False | ||
cpp-options: -DPRODUCTION | ||
main-is: production.hs | ||
ghc-options: -Wall -threaded | ||
|
||
executable kestrel-devel | ||
if flag(production) | ||
Buildable: False | ||
main-is: devel-server.hs | ||
ghc-options: -Wall -O2 -threaded | ||
-- Packages needed in order to build this package. | ||
Build-depends: base >= 4 && < 5 | ||
, yesod >= 0.7 && < 0.8 | ||
, yesod-auth | ||
, yesod-static | ||
, yesod-form | ||
, yesod-newsfeed | ||
, yesod-sitemap | ||
, mime-mail | ||
, wai | ||
, wai-extra | ||
, directory | ||
, bytestring | ||
, text | ||
, persistent >= 0.3.1.1 | ||
, persistent-postgresql | ||
, template-haskell | ||
, hamlet | ||
, web-routes | ||
, hjsmin >= 0.0.12 && < 0.1 | ||
, web-encodings == 0.3.0.4 | ||
, highlighting-kate | ||
, pandoc == 1.6.0.1 | ||
, split | ||
, utility-ht | ||
, Diff | ||
, transformers | ||
, warp | ||
, filepath | ||
, time >= 1.1 && < 2.0 | ||
, old-locale | ||
, containers >= 0.3 && < 0.4 | ||
, parsec >= 2.1 && < 3.0 | ||
, xhtml >= 3000.2 && < 4000.0 | ||
, SHA >= 1.4.1.3 && < 1.5 | ||
|
||
-- Modules not exported by this package. | ||
-- Other-modules: | ||
|
||
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source. | ||
-- Build-tools: | ||
|