summaryrefslogtreecommitdiff
path: root/gf.cabal
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-10-10 16:16:16 +0000
committerhallgren <hallgren@chalmers.se>2011-10-10 16:16:16 +0000
commit04d2dc757c34d76711a237b583855e111e4486a7 (patch)
tree661290c488e61c36ac5c64f0efd4f54768a19fa0 /gf.cabal
parent5b980dcb930a1fe380e28fb9905db64e1da37672 (diff)
More functionality in "gf -server" mode
"gf -server" mode now includes PGF service and the services to support example-based grammar writing. (But gf -server is not quite ready to replace pgf-http yet...) Also bumped GF version number to 3.2.10-darcs
Diffstat (limited to 'gf.cabal')
-rw-r--r--gf.cabal9
1 files changed, 7 insertions, 2 deletions
diff --git a/gf.cabal b/gf.cabal
index deb64faa8..748066d31 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -1,5 +1,5 @@
name: gf
-version: 3.2.9
+version: 3.2.10-darcs
cabal-version: >= 1.8
build-type: Custom
@@ -93,14 +93,19 @@ executable gf
mtl,
haskeline
if flag(server)
- build-depends: httpd-shed, network, silently, utf8-string
+ build-depends: httpd-shed, network, silently, utf8-string, json, cgi
cpp-options: -DSERVER_MODE
other-modules: GFServer
+ hs-source-dirs: src/server src/server/transfer src/example-based
+
build-tools: happy, alex>=2 && <3
if os(windows)
build-depends: Win32
else
build-depends: unix
+
+ ghc-prof-options: -auto-all
+
ghc-options: -O2
if impl(ghc>=7.0)
ghc-options: -rtsopts