importable Hledger.Vty and Hledger.Chart modules

This commit is contained in:
Simon Michael 2011-08-15 23:09:52 +00:00
parent 02a43f1e40
commit 7367e5b24d
6 changed files with 48 additions and 2 deletions

View File

@ -0,0 +1,21 @@
{-|
Re-export the modules of the hledger-chart program.
-}
module Hledger.Chart (
module Hledger.Chart.Main,
module Hledger.Chart.Options,
tests_Hledger_Chart
)
where
import Test.HUnit
import Hledger.Chart.Main
import Hledger.Chart.Options
tests_Hledger_Chart :: Test
tests_Hledger_Chart = TestList
[
-- tests_Hledger_Chart_Main
-- tests_Hledger_Chart_Options
]

View File

@ -33,7 +33,9 @@ executable hledger-chart
main-is: hledger-chart.hs
ghc-options: -threaded -W
other-modules:
Hledger.Chart
Hledger.Chart.Main
Hledger.Chart.Options
build-depends:
hledger == 0.15
,hledger-lib == 0.15

View File

@ -1,2 +1,2 @@
#!/usr/bin/env runhaskell
import Hledger.Chart.Main (main)
import Hledger.Chart (main)

View File

@ -0,0 +1,21 @@
{-|
Re-export the modules of the hledger-vty program.
-}
module Hledger.Vty (
module Hledger.Vty.Main,
module Hledger.Vty.Options,
tests_Hledger_Vty
)
where
import Test.HUnit
import Hledger.Vty.Main
import Hledger.Vty.Options
tests_Hledger_Vty :: Test
tests_Hledger_Vty = TestList
[
-- tests_Hledger_Vty_Main
-- tests_Hledger_Vty_Options
]

View File

@ -33,7 +33,9 @@ executable hledger-vty
main-is: hledger-vty.hs
ghc-options: -threaded -W
other-modules:
Hledger.Vty
Hledger.Vty.Main
Hledger.Vty.Options
build-depends:
hledger == 0.15
,hledger-lib == 0.15

View File

@ -1,2 +1,2 @@
#!/usr/bin/env runhaskell
import Hledger.Vty.Main (main)
import Hledger.Vty (main)