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
|
#endif
|
||||||
#if defined(WEB)
|
#if defined(WEB)
|
||||||
module Hledger.Cli.Commands.Web,
|
module Hledger.Cli.Commands.Web,
|
||||||
#endif
|
#elif defined(WEBYESOD)
|
||||||
#if defined(WEBYESOD)
|
|
||||||
module Hledger.Cli.Commands.WebYesod,
|
module Hledger.Cli.Commands.WebYesod,
|
||||||
#endif
|
#endif
|
||||||
#ifdef CHART
|
#ifdef CHART
|
||||||
@ -42,8 +41,7 @@ import Hledger.Cli.Commands.Vty
|
|||||||
#endif
|
#endif
|
||||||
#if defined(WEB)
|
#if defined(WEB)
|
||||||
import Hledger.Cli.Commands.Web
|
import Hledger.Cli.Commands.Web
|
||||||
#endif
|
#elif defined(WEBYESOD)
|
||||||
#if defined(WEBYESOD)
|
|
||||||
import Hledger.Cli.Commands.WebYesod
|
import Hledger.Cli.Commands.WebYesod
|
||||||
#endif
|
#endif
|
||||||
#ifdef CHART
|
#ifdef CHART
|
||||||
@ -67,8 +65,7 @@ tests_Hledger_Commands = TestList
|
|||||||
-- #endif
|
-- #endif
|
||||||
-- #if defined(WEB)
|
-- #if defined(WEB)
|
||||||
-- ,Hledger.Cli.Commands.Web.tests_Web
|
-- ,Hledger.Cli.Commands.Web.tests_Web
|
||||||
-- #endif
|
-- #elif defined(WEBYESOD)
|
||||||
-- #if defined(WEBYESOD)
|
|
||||||
-- ,Hledger.Cli.Commands.WebYesod.tests_Web
|
-- ,Hledger.Cli.Commands.WebYesod.tests_Web
|
||||||
-- #endif
|
-- #endif
|
||||||
-- #ifdef CHART
|
-- #ifdef CHART
|
||||||
|
|||||||
@ -70,8 +70,8 @@ configflags = tail [""
|
|||||||
,"vty"
|
,"vty"
|
||||||
#endif
|
#endif
|
||||||
#if defined(WEB)
|
#if defined(WEB)
|
||||||
,"web (using simpleserver)"
|
,"web (using loli/hsp/simpleserver)"
|
||||||
#elif defined(WEBHAPPSTACK)
|
#elif defined(WEBYESOD)
|
||||||
,"web (using happstack)"
|
,"web (using yesod/hamlet/simpleserver)"
|
||||||
#endif
|
#endif
|
||||||
]
|
]
|
||||||
|
|||||||
@ -40,11 +40,11 @@ flag vty
|
|||||||
default: False
|
default: False
|
||||||
|
|
||||||
flag web
|
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
|
default: False
|
||||||
|
|
||||||
flag webyesod
|
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
|
default: False
|
||||||
|
|
||||||
flag chart
|
flag chart
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user