summaryrefslogtreecommitdiff
path: root/src/example-based/gf-exb.cabal
blob: 1ca75c5ec9a92c9fb385472aa23d2f82f116d9bf (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
Name: gf-exb
Version: 1.0
Cabal-version: >= 1.8
Build-type: Simple
License: GPL
Synopsis: Example-based grammar writing for the Grammatical Framework

executable exb.fcgi
  main-is: exb-fcgi.hs
  Hs-source-dirs: . ../server ../compiler ../runtime/haskell
  other-modules: ExampleService ExampleDemo
                 CGIUtils Cache GF.Compile.ToAPI
                 -- and a lot more...
  ghc-options: -threaded
  if impl(ghc>=7.0)
    ghc-options: -rtsopts

  build-depends: base >=4.2 && <5, json, cgi, fastcgi, random,
                 containers, old-time, directory, bytestring, utf8-string,
                 pretty, array, mtl, time, filepath

  if os(windows)
    ghc-options: -optl-mwindows
  else
    build-depends: unix