Fix errors in sdist for example project

This commit is contained in:
Michael Xavier 2017-03-02 15:29:49 -08:00
parent 2a369c6949
commit 4f0deb94f6
3 changed files with 34 additions and 4 deletions

View 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.

View File

@ -0,0 +1,7 @@
#!/usr/bin/env runhaskell
> module Main where
> import Distribution.Simple
> main :: IO ()
> main = defaultMain

View File

@ -1,5 +1,8 @@
name: serversession-example-yesod-persistent
version: 0.0.0
license: MIT
license-file: LICENSE
description: Example yesod/persistent app using serversession
cabal-version: >= 1.8
build-type: Simple
@ -25,9 +28,9 @@ library
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -fwarn-tabs -O0
ghc-options: -Wall -fwarn-tabs
else
ghc-options: -Wall -fwarn-tabs -O
ghc-options: -Wall -fwarn-tabs
extensions: TemplateHaskell
QuasiQuotes
@ -46,7 +49,7 @@ library
TupleSections
RecordWildCards
build-depends: base >= 4
build-depends: base >= 4 && < 5
, yesod >= 1.4.1
, yesod-core >= 1.4.6
, yesod-auth >= 1.4.0
@ -95,7 +98,7 @@ executable serversession-example-yesod-persistent
hs-source-dirs: app
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
type: exitcode-stdio-1.0