yesod/restful.cabal
2009-12-06 00:46:59 +02:00

80 lines
3.0 KiB
Plaintext

name: restful
version: 0.1.12
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 && < 1.1,
time >= 1.1.3 && < 1.2,
hack >= 2009.5.19,
split >= 0.1.1 && < 0.2,
authenticate >= 0.4.0 && < 0.5,
data-default >= 0.2 && < 0.3,
predicates >= 0.1 && < 0.2,
bytestring >= 0.9.1.4 && < 0.10,
web-encodings >= 0.2.0 && < 0.3,
data-object >= 0.2.0 && < 0.3,
yaml >= 0.2.0 && < 0.3,
enumerable >= 0.0.3 && < 0.1,
directory >= 1 && < 1.1,
transformers >= 0.1.4.0 && < 0.2,
monads-fd >= 0.0.0.1 && < 0.1,
control-monad-attempt >= 0.0.0 && < 0.1,
syb,
text >= 0.5 && < 0.6,
convertible-text >= 0.0.0 && < 0.1,
clientsession >= 0.0.1 && < 0.1,
zlib >= 0.5.2.0 && < 0.6
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,
Data.Object.Translate,
Hack.Middleware.MethodOverride,
Hack.Middleware.ClientSession,
Hack.Middleware.Jsonp,
Hack.Middleware.CleanPath,
Hack.Middleware.Gzip,
Web.Restful.Helpers.Auth,
Web.Restful.Helpers.Static,
Web.Restful.Helpers.AtomFeed,
Web.Restful.Helpers.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