diff --git a/hledger-chart/Hledger/Chart.hs b/hledger-chart/Hledger/Chart.hs new file mode 100644 index 000000000..e0b2f7110 --- /dev/null +++ b/hledger-chart/Hledger/Chart.hs @@ -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 + ] diff --git a/hledger-chart/hledger-chart.cabal b/hledger-chart/hledger-chart.cabal index f0c052db1..cf8bba886 100644 --- a/hledger-chart/hledger-chart.cabal +++ b/hledger-chart/hledger-chart.cabal @@ -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 diff --git a/hledger-chart/hledger-chart.hs b/hledger-chart/hledger-chart.hs index 131df8bbf..eb81229b1 100644 --- a/hledger-chart/hledger-chart.hs +++ b/hledger-chart/hledger-chart.hs @@ -1,2 +1,2 @@ #!/usr/bin/env runhaskell -import Hledger.Chart.Main (main) +import Hledger.Chart (main) diff --git a/hledger-vty/Hledger/Vty.hs b/hledger-vty/Hledger/Vty.hs new file mode 100644 index 000000000..01107069b --- /dev/null +++ b/hledger-vty/Hledger/Vty.hs @@ -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 + ] diff --git a/hledger-vty/hledger-vty.cabal b/hledger-vty/hledger-vty.cabal index bb5890e71..eb387c481 100644 --- a/hledger-vty/hledger-vty.cabal +++ b/hledger-vty/hledger-vty.cabal @@ -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 diff --git a/hledger-vty/hledger-vty.hs b/hledger-vty/hledger-vty.hs index d89975958..e79ad9a06 100644 --- a/hledger-vty/hledger-vty.hs +++ b/hledger-vty/hledger-vty.hs @@ -1,2 +1,2 @@ #!/usr/bin/env runhaskell -import Hledger.Vty.Main (main) +import Hledger.Vty (main)