Fix errors in sdist for example project
This commit is contained in:
parent
2a369c6949
commit
4f0deb94f6
20
examples/serversession-example-yesod-persistent/LICENSE
Normal file
20
examples/serversession-example-yesod-persistent/LICENSE
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Copyright (c) 2015 Felipe Lessa
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
7
examples/serversession-example-yesod-persistent/Setup.lhs
Executable file
7
examples/serversession-example-yesod-persistent/Setup.lhs
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env runhaskell
|
||||||
|
|
||||||
|
> module Main where
|
||||||
|
> import Distribution.Simple
|
||||||
|
|
||||||
|
> main :: IO ()
|
||||||
|
> main = defaultMain
|
||||||
@ -1,5 +1,8 @@
|
|||||||
name: serversession-example-yesod-persistent
|
name: serversession-example-yesod-persistent
|
||||||
version: 0.0.0
|
version: 0.0.0
|
||||||
|
license: MIT
|
||||||
|
license-file: LICENSE
|
||||||
|
description: Example yesod/persistent app using serversession
|
||||||
cabal-version: >= 1.8
|
cabal-version: >= 1.8
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
|
|
||||||
@ -25,9 +28,9 @@ library
|
|||||||
|
|
||||||
if flag(dev) || flag(library-only)
|
if flag(dev) || flag(library-only)
|
||||||
cpp-options: -DDEVELOPMENT
|
cpp-options: -DDEVELOPMENT
|
||||||
ghc-options: -Wall -fwarn-tabs -O0
|
ghc-options: -Wall -fwarn-tabs
|
||||||
else
|
else
|
||||||
ghc-options: -Wall -fwarn-tabs -O
|
ghc-options: -Wall -fwarn-tabs
|
||||||
|
|
||||||
extensions: TemplateHaskell
|
extensions: TemplateHaskell
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
@ -46,7 +49,7 @@ library
|
|||||||
TupleSections
|
TupleSections
|
||||||
RecordWildCards
|
RecordWildCards
|
||||||
|
|
||||||
build-depends: base >= 4
|
build-depends: base >= 4 && < 5
|
||||||
, yesod >= 1.4.1
|
, yesod >= 1.4.1
|
||||||
, yesod-core >= 1.4.6
|
, yesod-core >= 1.4.6
|
||||||
, yesod-auth >= 1.4.0
|
, yesod-auth >= 1.4.0
|
||||||
@ -95,7 +98,7 @@ executable serversession-example-yesod-persistent
|
|||||||
hs-source-dirs: app
|
hs-source-dirs: app
|
||||||
build-depends: base, serversession-example-yesod-persistent
|
build-depends: base, serversession-example-yesod-persistent
|
||||||
|
|
||||||
ghc-options: -threaded -O -rtsopts -with-rtsopts=-N
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||||
|
|
||||||
test-suite test
|
test-suite test
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user