forked from GitHub/gf-core
gf-server.cabal: a separate flag for the content service
* Use cabal install -ffastcgi to compile the fastcgi server.
* Use cabal install -fcontent to compile the content service (off by default,
currently broken)
* Use both flag to compile both.
This commit is contained in:
@@ -7,7 +7,11 @@ license-file: ../../LICENSE
|
|||||||
synopsis: FastCGI Server for Grammatical Framework
|
synopsis: FastCGI Server for Grammatical Framework
|
||||||
|
|
||||||
flag fastcgi
|
flag fastcgi
|
||||||
Description: Build the fastcgi and content services (requires fastcgi and hsql-mysql packages)
|
Description: Build the fastcgi service (requires the fastcgi package)
|
||||||
|
Default: False
|
||||||
|
|
||||||
|
flag content
|
||||||
|
Description: Build content service (requires fastcgi and hsql-mysql packages)
|
||||||
Default: False
|
Default: False
|
||||||
|
|
||||||
executable pgf-http
|
executable pgf-http
|
||||||
@@ -67,7 +71,7 @@ executable pgf-service
|
|||||||
build-depends: unix
|
build-depends: unix
|
||||||
|
|
||||||
executable content-service
|
executable content-service
|
||||||
if flag(fastcgi)
|
if flag(content)
|
||||||
build-depends: base >=4.2 && <5,
|
build-depends: base >=4.2 && <5,
|
||||||
fastcgi >= 3001.0.2.2, hsql-mysql, hsql, old-locale
|
fastcgi >= 3001.0.2.2, hsql-mysql, hsql, old-locale
|
||||||
buildable: True
|
buildable: True
|
||||||
|
|||||||
Reference in New Issue
Block a user