cabal: cleanup
This commit is contained in:
parent
7508a462b5
commit
d3a30e97ef
@ -27,18 +27,8 @@ Flag happs
|
|||||||
default: False
|
default: False
|
||||||
|
|
||||||
Library
|
Library
|
||||||
Build-Depends: base >= 3 && < 5
|
Exposed-modules:
|
||||||
,containers
|
Ledger
|
||||||
,haskell98
|
|
||||||
,directory
|
|
||||||
,parsec
|
|
||||||
,old-locale
|
|
||||||
,time
|
|
||||||
,HUnit
|
|
||||||
,filepath
|
|
||||||
,utf8-string
|
|
||||||
|
|
||||||
Exposed-modules:Ledger
|
|
||||||
Ledger.Account
|
Ledger.Account
|
||||||
Ledger.AccountName
|
Ledger.AccountName
|
||||||
Ledger.Amount
|
Ledger.Amount
|
||||||
@ -54,31 +44,20 @@ Library
|
|||||||
Ledger.Transaction
|
Ledger.Transaction
|
||||||
Ledger.Types
|
Ledger.Types
|
||||||
Ledger.Utils
|
Ledger.Utils
|
||||||
|
Build-Depends:
|
||||||
|
base >= 3 && < 5
|
||||||
|
,containers
|
||||||
|
,directory
|
||||||
|
,filepath
|
||||||
|
,haskell98
|
||||||
|
,old-locale
|
||||||
|
,parsec
|
||||||
|
,time
|
||||||
|
,utf8-string
|
||||||
|
,HUnit
|
||||||
|
|
||||||
Executable hledger
|
Executable hledger
|
||||||
Main-Is: hledger.hs
|
Main-Is: hledger.hs
|
||||||
|
|
||||||
Build-Depends: base >= 3 && < 5
|
|
||||||
,containers
|
|
||||||
,haskell98
|
|
||||||
,directory
|
|
||||||
,parsec
|
|
||||||
,regex-compat
|
|
||||||
,regexpr>=0.5.1
|
|
||||||
,old-locale
|
|
||||||
,time
|
|
||||||
,HUnit
|
|
||||||
,mtl
|
|
||||||
,bytestring
|
|
||||||
,filepath
|
|
||||||
,process
|
|
||||||
,testpack
|
|
||||||
,regex-pcre
|
|
||||||
,csv
|
|
||||||
,split
|
|
||||||
,utf8-string
|
|
||||||
,HTTP >= 4000.0 && < 4000.1
|
|
||||||
|
|
||||||
Other-Modules:
|
Other-Modules:
|
||||||
Commands.Add
|
Commands.Add
|
||||||
Commands.All
|
Commands.All
|
||||||
@ -109,22 +88,44 @@ Executable hledger
|
|||||||
Tests
|
Tests
|
||||||
Utils
|
Utils
|
||||||
Version
|
Version
|
||||||
|
Build-Depends:
|
||||||
|
base >= 3 && < 5
|
||||||
|
,bytestring
|
||||||
|
,containers
|
||||||
|
,csv
|
||||||
|
,directory
|
||||||
|
,filepath
|
||||||
|
,haskell98
|
||||||
|
,mtl
|
||||||
|
,old-locale
|
||||||
|
,parsec
|
||||||
|
,process
|
||||||
|
,regex-compat
|
||||||
|
,regex-pcre
|
||||||
|
,regexpr >= 0.5.1
|
||||||
|
,split
|
||||||
|
,testpack
|
||||||
|
,time
|
||||||
|
,utf8-string
|
||||||
|
,HTTP >= 4000.0 && < 4000.1
|
||||||
|
,HUnit
|
||||||
|
|
||||||
-- need to set patchlevel here (darcs changes --from-tag=. --count)
|
-- should set patchlevel here as in Makefile
|
||||||
cpp-options: -DPATCHES=0
|
cpp-options: -DPATCHLEVEL=0
|
||||||
|
|
||||||
if flag(vty)
|
if flag(vty)
|
||||||
cpp-options: -DVTY
|
cpp-options: -DVTY
|
||||||
Build-Depends:vty >= 3.1.8.2 && < 3.2
|
|
||||||
Other-Modules:Commands.UI
|
Other-Modules:Commands.UI
|
||||||
|
Build-Depends:
|
||||||
|
vty >= 3.1.8.2 && < 3.2
|
||||||
|
|
||||||
if flag(happs)
|
if flag(happs)
|
||||||
cpp-options: -DHAPPS
|
cpp-options: -DHAPPS
|
||||||
Build-Depends:happstack >= 0.2 && < 0.3
|
Other-Modules:Commands.Web
|
||||||
|
Build-Depends:
|
||||||
|
happstack >= 0.2 && < 0.3
|
||||||
,happstack-data >= 0.2 && < 0.3
|
,happstack-data >= 0.2 && < 0.3
|
||||||
,happstack-server >= 0.2 && < 0.3
|
,happstack-server >= 0.2 && < 0.3
|
||||||
,happstack-state >= 0.2 && < 0.3
|
,happstack-state >= 0.2 && < 0.3
|
||||||
,utf8-string >= 0.3 && < 0.4
|
,utf8-string >= 0.3 && < 0.4
|
||||||
,xhtml >= 3000.2 && < 3000.3
|
,xhtml >= 3000.2 && < 3000.3
|
||||||
Other-Modules:Commands.Web
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user