diff --git a/yesod-default/LICENSE b/yesod-default/LICENSE new file mode 100644 index 00000000..8643e5d8 --- /dev/null +++ b/yesod-default/LICENSE @@ -0,0 +1,25 @@ +The following license covers this documentation, and the source code, except +where otherwise indicated. + +Copyright 2010, Michael Snoyman. 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 "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. diff --git a/yesod-default/README b/yesod-default/README new file mode 100644 index 00000000..e69de29b diff --git a/yesod-default/Setup.lhs b/yesod-default/Setup.lhs new file mode 100755 index 00000000..06e2708f --- /dev/null +++ b/yesod-default/Setup.lhs @@ -0,0 +1,7 @@ +#!/usr/bin/env runhaskell + +> module Main where +> import Distribution.Simple + +> main :: IO () +> main = defaultMain diff --git a/yesod-default/yesod-default.cabal b/yesod-default/yesod-default.cabal new file mode 100644 index 00000000..306b6fb1 --- /dev/null +++ b/yesod-default/yesod-default.cabal @@ -0,0 +1,31 @@ +name: yesod-default +version: 0.3.1 +license: BSD3 +license-file: LICENSE +author: Patrick Brisbin +maintainer: Patrick Brisbin +synopsis: Default config and main functions for your yesod application +category: Web, Yesod +stability: Stable +cabal-version: >= 1.6 +build-type: Simple +homepage: http://www.yesodweb.com/ +description: Convenient wrappers for your the configuration and + execution of your yesod application + +library + build-depends: base >= 4 && < 5 + , yesod-core >= 0.9 && < 0.10 + , cmdargs >= 0.8 && < 0.9 + , warp >= 0.4 && < 0.5 + , wai >= 0.4 && < 0.5 + , wai-extra >= 0.4 && < 0.5 + + exposed-modules: Yesod.Default.Config + , Yesod.Default.Main + + ghc-options: -Wall + +source-repository head + type: git + location: git://github.com/yesodweb/yesod.git