support latest cmdargs, haskeline, split
This commit is contained in:
parent
257732bf43
commit
7fec954cbf
@ -57,7 +57,7 @@ library
|
|||||||
Build-Depends:
|
Build-Depends:
|
||||||
base >= 4.3 && < 5
|
base >= 4.3 && < 5
|
||||||
,bytestring
|
,bytestring
|
||||||
,cmdargs >= 0.9.1 && < 0.10
|
,cmdargs >= 0.10 && < 0.11
|
||||||
,containers
|
,containers
|
||||||
,csv
|
,csv
|
||||||
,directory
|
,directory
|
||||||
@ -69,7 +69,7 @@ library
|
|||||||
,regexpr >= 0.5.1
|
,regexpr >= 0.5.1
|
||||||
,safe >= 0.2
|
,safe >= 0.2
|
||||||
,shakespeare-text >= 1.0 && < 1.1
|
,shakespeare-text >= 1.0 && < 1.1
|
||||||
,split == 0.1.*
|
,split >= 0.1 && < 0.3
|
||||||
,time
|
,time
|
||||||
,transformers >= 0.2 && < 0.4
|
,transformers >= 0.2 && < 0.4
|
||||||
,utf8-string >= 0.3.5 && < 0.4
|
,utf8-string >= 0.3.5 && < 0.4
|
||||||
|
|||||||
@ -127,7 +127,7 @@ executable hledger-web
|
|||||||
, hledger-lib == 0.18.2
|
, hledger-lib == 0.18.2
|
||||||
, base >= 4.3 && < 5
|
, base >= 4.3 && < 5
|
||||||
, cabal-file-th
|
, cabal-file-th
|
||||||
, cmdargs >= 0.9.1 && < 0.10
|
, cmdargs >= 0.10 && < 0.11
|
||||||
, directory
|
, directory
|
||||||
, filepath
|
, filepath
|
||||||
, HUnit
|
, HUnit
|
||||||
|
|||||||
@ -40,6 +40,7 @@ defmode = Mode {
|
|||||||
,modeValue = []
|
,modeValue = []
|
||||||
,modeCheck = Right
|
,modeCheck = Right
|
||||||
,modeReform = const Nothing
|
,modeReform = const Nothing
|
||||||
|
,modeExpandAt = True
|
||||||
,modeGroupFlags = toGroup []
|
,modeGroupFlags = toGroup []
|
||||||
,modeArgs = ([], Nothing)
|
,modeArgs = ([], Nothing)
|
||||||
,modeGroupModes = toGroup []
|
,modeGroupModes = toGroup []
|
||||||
@ -481,7 +482,11 @@ aliasesFromOpts = map parseAlias . alias_
|
|||||||
alias' = case alias of ('=':rest) -> rest
|
alias' = case alias of ('=':rest) -> rest
|
||||||
_ -> orig
|
_ -> orig
|
||||||
|
|
||||||
showModeHelp = showText defaultWrap . helpText [] HelpFormatDefault
|
showModeHelp :: Mode a -> String
|
||||||
|
showModeHelp =
|
||||||
|
(showText defaultWrap :: [Text] -> String)
|
||||||
|
.
|
||||||
|
(helpText [] HelpFormatDefault :: Mode a -> [Text])
|
||||||
|
|
||||||
tests_Hledger_Cli_Options = TestList
|
tests_Hledger_Cli_Options = TestList
|
||||||
[
|
[
|
||||||
|
|||||||
@ -66,10 +66,10 @@ library
|
|||||||
,base >= 4.3 && < 5
|
,base >= 4.3 && < 5
|
||||||
,cabal-file-th
|
,cabal-file-th
|
||||||
,containers
|
,containers
|
||||||
,cmdargs >= 0.9.1 && < 0.10
|
,cmdargs >= 0.10 && < 0.11
|
||||||
,directory
|
,directory
|
||||||
,filepath
|
,filepath
|
||||||
,haskeline == 0.6.*
|
,haskeline >= 0.6 && <= 0.8
|
||||||
,HUnit
|
,HUnit
|
||||||
,mtl
|
,mtl
|
||||||
,old-locale
|
,old-locale
|
||||||
@ -79,7 +79,7 @@ library
|
|||||||
,regexpr >= 0.5.1
|
,regexpr >= 0.5.1
|
||||||
,safe >= 0.2
|
,safe >= 0.2
|
||||||
,shakespeare-text == 1.0.*
|
,shakespeare-text == 1.0.*
|
||||||
,split == 0.1.*
|
,split >= 0.1 && < 0.3
|
||||||
,text == 0.11.*
|
,text == 0.11.*
|
||||||
,time
|
,time
|
||||||
,utf8-string >= 0.3.5 && < 0.4
|
,utf8-string >= 0.3.5 && < 0.4
|
||||||
@ -121,10 +121,10 @@ executable hledger
|
|||||||
,base >= 4.3 && < 5
|
,base >= 4.3 && < 5
|
||||||
,cabal-file-th
|
,cabal-file-th
|
||||||
,containers
|
,containers
|
||||||
,cmdargs >= 0.9.1 && < 0.10
|
,cmdargs >= 0.10 && < 0.11
|
||||||
,directory
|
,directory
|
||||||
,filepath
|
,filepath
|
||||||
,haskeline == 0.6.*
|
,haskeline >= 0.6 && <= 0.8
|
||||||
,HUnit
|
,HUnit
|
||||||
,mtl
|
,mtl
|
||||||
,old-locale
|
,old-locale
|
||||||
@ -134,7 +134,7 @@ executable hledger
|
|||||||
,regexpr >= 0.5.1
|
,regexpr >= 0.5.1
|
||||||
,safe >= 0.2
|
,safe >= 0.2
|
||||||
,shakespeare-text == 1.0.*
|
,shakespeare-text == 1.0.*
|
||||||
,split == 0.1.*
|
,split >= 0.1 && < 0.3
|
||||||
,text == 0.11.*
|
,text == 0.11.*
|
||||||
,time
|
,time
|
||||||
,utf8-string >= 0.3.5 && < 0.4
|
,utf8-string >= 0.3.5 && < 0.4
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user