summaryrefslogtreecommitdiff
path: root/src/example-based/gf-exb.cabal
diff options
context:
space:
mode:
authorJohn J. Camilleri <john@johnjcamilleri.com>2018-11-28 19:22:19 +0100
committerJohn J. Camilleri <john@johnjcamilleri.com>2018-11-28 19:22:19 +0100
commite2401f32ca20f8ec9bea23df909139878ad3f8bf (patch)
tree73db309f81eb40c69bd24fd9549df3a1655f8801 /src/example-based/gf-exb.cabal
parent69cea20dac8ac73fa0a61ed4ff427d2524ee253b (diff)
Revert "remove the example-based folder. The code is still in the archive"
This reverts commit 05c2cfb628147f7d6fa0a6c2f38eb9d67b2eb007.
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..1366e75da
--- /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, filepath
+
+ if os(windows)
+ ghc-options: -optl-mwindows
+ else
+ build-depends: unix