diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-08-07 21:26:17 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-08-07 21:26:17 -0700 |
| commit | 2b30d27669ed6d758b2b4cd04dada4ef8ab3caee (patch) | |
| tree | a51070d063c3851ebbcb9352ec3d726bc7f1b448 /pandoc.cabal | |
| parent | 4359e60b93257cf45075c2a52011c4c02bc6a6ea (diff) | |
Rename pandoc-cgi -> pandoc-server.
Diffstat (limited to 'pandoc.cabal')
| -rw-r--r-- | pandoc.cabal | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 44ec59510..cab4e375c 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -428,8 +428,8 @@ flag lua53 Description: Embed Lua 5.3 instead of 5.4. Default: False -flag pandoc-cgi - Description: Build pandoc-cgi executable. +flag server + Description: Build pandoc-server executable. Default: False flag nightly @@ -789,19 +789,21 @@ executable pandoc buildable: True other-modules: Paths_pandoc -executable pandoc-cgi +executable pandoc-server import: common-executable main-is: Main.hs - other-modules: PandocCGI - hs-source-dirs: pandoc-cgi - if flag(pandoc-cgi) + other-modules: PandocServer + hs-source-dirs: server + if flag(server) build-depends: base, pandoc, aeson, text, servant-server, wai >= 0.3, - wai-extra >= 3.0.24 + wai-extra >= 3.0.24, + warp, + optparse-applicative buildable: True else |
