mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-14 02:14:14 +03:00
web: better web and webyesod flag and --version descriptions
This commit is contained in:
parent
ac1dbb07ef
commit
68e8ea7d53
@ -20,8 +20,7 @@ module Hledger.Cli.Commands.All (
|
||||
#endif
|
||||
#if defined(WEB)
|
||||
module Hledger.Cli.Commands.Web,
|
||||
#endif
|
||||
#if defined(WEBYESOD)
|
||||
#elif defined(WEBYESOD)
|
||||
module Hledger.Cli.Commands.WebYesod,
|
||||
#endif
|
||||
#ifdef CHART
|
||||
@ -42,8 +41,7 @@ import Hledger.Cli.Commands.Vty
|
||||
#endif
|
||||
#if defined(WEB)
|
||||
import Hledger.Cli.Commands.Web
|
||||
#endif
|
||||
#if defined(WEBYESOD)
|
||||
#elif defined(WEBYESOD)
|
||||
import Hledger.Cli.Commands.WebYesod
|
||||
#endif
|
||||
#ifdef CHART
|
||||
@ -67,8 +65,7 @@ tests_Hledger_Commands = TestList
|
||||
-- #endif
|
||||
-- #if defined(WEB)
|
||||
-- ,Hledger.Cli.Commands.Web.tests_Web
|
||||
-- #endif
|
||||
-- #if defined(WEBYESOD)
|
||||
-- #elif defined(WEBYESOD)
|
||||
-- ,Hledger.Cli.Commands.WebYesod.tests_Web
|
||||
-- #endif
|
||||
-- #ifdef CHART
|
||||
|
@ -70,8 +70,8 @@ configflags = tail [""
|
||||
,"vty"
|
||||
#endif
|
||||
#if defined(WEB)
|
||||
,"web (using simpleserver)"
|
||||
#elif defined(WEBHAPPSTACK)
|
||||
,"web (using happstack)"
|
||||
,"web (using loli/hsp/simpleserver)"
|
||||
#elif defined(WEBYESOD)
|
||||
,"web (using yesod/hamlet/simpleserver)"
|
||||
#endif
|
||||
]
|
||||
|
@ -40,11 +40,11 @@ flag vty
|
||||
default: False
|
||||
|
||||
flag web
|
||||
description: enable the web ui (using loli, hack, simpleserver)
|
||||
description: enable the web ui (using loli/hsp/simpleserver, works with ghc 6.10)
|
||||
default: False
|
||||
|
||||
flag webyesod
|
||||
description: enable the web ui (using yesod, wai, simpleserver)
|
||||
description: enable the web ui (using yesod/hamlet/simpleserver, requires ghc 6.12)
|
||||
default: False
|
||||
|
||||
flag chart
|
||||
|
Loading…
Reference in New Issue
Block a user