summaryrefslogtreecommitdiff
path: root/src/example-based/gf-exb.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-09-27 18:59:54 +0000
committerhallgren <hallgren@chalmers.se>2011-09-27 18:59:54 +0000
commitb9b353795bec6ea9155d086e109485c960ee5397 (patch)
treea3848f98c6140c2a5844da00aa81746234b31dcc /src/example-based/gf-exb.cabal
parent667b37f418f3c8bdde227c7491bc5a2a00d18947 (diff)
Server-side support for example-based grammar writing
Diffstat (limited to 'src/example-based/gf-exb.cabal')
-rw-r--r--src/example-based/gf-exb.cabal25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/example-based/gf-exb.cabal b/src/example-based/gf-exb.cabal
new file mode 100644
index 000000000..75b1a49a1
--- /dev/null
+++ b/src/example-based/gf-exb.cabal
@@ -0,0 +1,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
+ FastCGIUtils 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, fst
+
+ if os(windows)
+ ghc-options: -optl-mwindows
+ else
+ build-depends: unix