mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-07 21:15:19 +03:00
lib!: export less from cli and web packages, and more from ui
This commit is contained in:
parent
0e98f73e30
commit
40037afaf1
@ -3,10 +3,10 @@ Re-export the modules of the hledger-ui program.
|
||||
-}
|
||||
|
||||
module Hledger.UI (
|
||||
module Hledger.UI.Main,
|
||||
module Hledger.UI.UIOptions,
|
||||
module Hledger.UI.Theme
|
||||
)
|
||||
module Hledger.UI.Main,
|
||||
module Hledger.UI.Theme,
|
||||
module Hledger.UI.UIOptions,
|
||||
)
|
||||
where
|
||||
|
||||
import Hledger.UI.Main
|
||||
|
@ -96,6 +96,15 @@ when:
|
||||
else:
|
||||
buildable: true
|
||||
|
||||
library:
|
||||
source-dirs: .
|
||||
cpp-options: -DVERSION="1.31.99"
|
||||
exposed-modules:
|
||||
- Hledger.UI
|
||||
- Hledger.UI.Main
|
||||
- Hledger.UI.Theme
|
||||
- Hledger.UI.UIOptions
|
||||
|
||||
executables:
|
||||
hledger-ui:
|
||||
source-dirs: .
|
||||
|
@ -2,10 +2,10 @@
|
||||
Re-export the modules of the hledger-web program.
|
||||
-}
|
||||
|
||||
module Hledger.Web
|
||||
( module Hledger.Web.WebOptions
|
||||
, module Hledger.Web.Main
|
||||
) where
|
||||
module Hledger.Web (
|
||||
module Hledger.Web.Main,
|
||||
module Hledger.Web.WebOptions
|
||||
) where
|
||||
|
||||
import Hledger.Web.WebOptions
|
||||
import Hledger.Web.Main
|
||||
|
@ -85,7 +85,12 @@ library:
|
||||
cpp-options: -DVERSION="1.31.99"
|
||||
exposed-modules:
|
||||
- Hledger.Web
|
||||
- Hledger.Web.Main
|
||||
- Hledger.Web.WebOptions
|
||||
- Hledger.Web.Application
|
||||
- Hledger.Web.Import
|
||||
- Hledger.Web.Test
|
||||
other-modules:
|
||||
- Hledger.Web.Foundation
|
||||
- Hledger.Web.Handler.AddR
|
||||
- Hledger.Web.Handler.EditR
|
||||
@ -93,12 +98,8 @@ library:
|
||||
- Hledger.Web.Handler.MiscR
|
||||
- Hledger.Web.Handler.RegisterR
|
||||
- Hledger.Web.Handler.UploadR
|
||||
- Hledger.Web.Import
|
||||
- Hledger.Web.Main
|
||||
- Hledger.Web.Settings
|
||||
- Hledger.Web.Settings.StaticFiles
|
||||
- Hledger.Web.Test
|
||||
- Hledger.Web.WebOptions
|
||||
- Hledger.Web.Widget.AddForm
|
||||
- Hledger.Web.Widget.Common
|
||||
dependencies:
|
||||
|
@ -145,11 +145,6 @@ library:
|
||||
exposed-modules:
|
||||
- Hledger.Cli
|
||||
- Hledger.Cli.CliOptions
|
||||
- Hledger.Cli.DocFiles
|
||||
- Hledger.Cli.Utils
|
||||
- Hledger.Cli.Anon
|
||||
- Hledger.Cli.Script
|
||||
- Hledger.Cli.Version
|
||||
- Hledger.Cli.Commands
|
||||
- Hledger.Cli.Commands.Accounts
|
||||
- Hledger.Cli.Commands.Activity
|
||||
@ -180,6 +175,11 @@ library:
|
||||
- Hledger.Cli.Commands.Stats
|
||||
- Hledger.Cli.Commands.Tags
|
||||
- Hledger.Cli.CompoundBalanceCommand
|
||||
- Hledger.Cli.Anon
|
||||
- Hledger.Cli.DocFiles
|
||||
- Hledger.Cli.Script
|
||||
- Hledger.Cli.Utils
|
||||
- Hledger.Cli.Version
|
||||
dependencies:
|
||||
- Diff >=0.2
|
||||
- hashable >=1.2.4
|
||||
|
Loading…
Reference in New Issue
Block a user