yesod/restful.cabal
2009-11-28 19:36:04 +02:00

80 lines
2.8 KiB
Plaintext

name: restful
version: 0.1.10
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
maintainer: Michael Snoyman <michael@snoyman.com>
synopsis: A Restful front controller built on Hack.
category: Web
stability: unstable
cabal-version: >= 1.2
build-type: Simple
homepage: http://github.com/snoyberg/restful/tree/master
flag buildtests
description: Build the executable to run unit tests
default: False
library
if flag(buildtests)
Buildable: False
else
Buildable: True
build-depends: base >= 4 && < 5,
old-locale >= 1.0.0.1,
time >= 1.1.3,
hack-middleware-clientsession,
hack-middleware-jsonp >= 0.0.2,
hack-middleware-cleanpath >= 0.0.1,
hack-middleware-gzip,
hack-handler-cgi >= 0.0.2,
hack >= 2009.5.19,
split >= 0.1.1,
authenticate >= 0.2.1,
data-default >= 0.2,
predicates >= 0.1,
bytestring >= 0.9.1.4,
bytestring-class,
web-encodings >= 0.0.1,
data-object >= 0.2.0,
data-object-translate,
yaml >= 0.2.0,
enumerable >= 0.0.3,
directory >= 1,
transformers >= 0.1.4.0,
monads-fd >= 0.0.0.1,
attempt >= 0.0.2,
syb,
text >= 0.5,
convertible >= 1.2.0
exposed-modules: Web.Restful,
Web.Restful.Constants,
Web.Restful.Request,
Web.Restful.Response,
Web.Restful.Utils,
Web.Restful.Definitions,
Web.Restful.Handler,
Web.Restful.Application,
Web.Restful.Resource,
Data.Object.Instances,
Hack.Middleware.MethodOverride,
Web.Restful.Helpers.Auth,
Web.Restful.Helpers.Static,
Web.Restful.Response.AtomFeed,
Web.Restful.Response.Sitemap
ghc-options: -Wall -Werror
executable runtests
if flag(buildtests)
Buildable: True
cpp-options: -DTEST
build-depends: test-framework,
test-framework-quickcheck,
test-framework-hunit,
HUnit,
QuickCheck == 1.*
else
Buildable: False
ghc-options: -Wall
main-is: Test.hs