File: happstack.cabal

package info (click to toggle)
haskell-happstack 7.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 64 kB
  • sloc: haskell: 30; makefile: 2
file content (50 lines) | stat: -rw-r--r-- 1,365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name:                happstack
Version:             7.0.2
Synopsis:            The haskell application server stack + code generation
Description:         The haskell application server stack
License:             BSD3
License-file:        COPYING
Author:              Happstack team, HAppS LLC
Maintainer:          Happstack team <happs@googlegroups.com>
homepage:            http://happstack.com
Category:            Web, Distributed Computing
Build-Type:          Simple
Cabal-Version:       >= 1.6

source-repository head
    type:     darcs
    subdir:   happstack
    location: http://hub.darcs.net/stepcut/happstack

Flag base4
    Description: Choose the even newer, even smaller, split-up base package.

Flag tests
    Description: Build the testsuite, and include the tests in the library
    Default: False

Library
  if flag(tests)
    Exposed-modules:   Happstack.Tests
  other-modules:       Paths_happstack

  build-depends:       base >= 3 && <5,
                       happstack-server >= 7.0 && < 7.4

  if flag(tests)
    hs-source-dirs:    tests

  if impl(ghc >= 6.12)
     ghc-options:      -Wall -fno-warn-unused-do-bind
  else
     ghc-options:      -Wall

Executable happstack-tests
  Main-Is: Test.hs
  GHC-Options: -threaded
  hs-source-dirs: tests
  if flag(tests)
    Buildable: True
    Build-depends: HUnit
  else
    Buildable: False