From b30b438386365df93d80aeaba6b53b080dab5dfe Mon Sep 17 00:00:00 2001 From: tim Date: Mon, 10 Nov 2008 21:32:13 +0000 Subject: [PATCH] Produce a library, as well as the exe --- hledger.cabal | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/hledger.cabal b/hledger.cabal index 675d4e9b9..1a2185dc4 100644 --- a/hledger.cabal +++ b/hledger.cabal @@ -45,3 +45,22 @@ Executable hledger Ledger.Types Ledger.Utils +library + Build-Depends: base, containers, haskell98, directory, parsec, regex-compat, + old-locale, time, HUnit + Exposed-modules: + Ledger + Ledger.Account + Ledger.AccountName + Ledger.Amount + Ledger.Commodity + Ledger.Entry + Ledger.RawLedger + Ledger.Ledger + Ledger.RawTransaction + Ledger.Parse + Ledger.TimeLog + Ledger.Transaction + Ledger.Types + Ledger.Utils + \ No newline at end of file