summaryrefslogtreecommitdiff
path: root/src/server/gf-server.cabal
blob: 353dc499b8b86f929080cb930020a98eea7040e4 (plain)
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
name: gf-server
version: 1.0
cabal-version: >= 1.2
build-type: Simple
license: GPL
license-file: LICENSE
synopsis: FastCGI Server for Grammatical Framework

executable pgf-server
  build-depends: base >=4.2 && <5,
                 old-time,
                 directory,
                 filepath,
                 containers,
                 process,
                 gf >= 3.1,
                 cgi >= 3001.1.8.0,
                 fastcgi >= 3001.0.2.2,
                 json >= 0.3.3,
                 utf8-string >= 0.3.1.1,
                 bytestring
  if !os(windows)
    build-depends: unix
  main-is: PGFService.hs
  other-modules:
    FastCGIUtils
    Cache
    URLEncoding
  ghc-options: -threaded
  if os(windows)
    ghc-options: -optl-mwindows