1 author: Julien Moutinho <julm+hcompta@autogeree.net>
 
   2 -- bug-reports: http://bug.autogeree.net/hcompta
 
   8 description: Hcompta command line interface.
 
  11 -- homepage: http://pad.autogeree.net/hcompta
 
  14 maintainer: Julien Moutinho <julm+hcompta@autogeree.net>
 
  16 stability: experimental
 
  18 tested-with: GHC==7.10.3
 
  21 Source-Repository head
 
  22   location: git://git.autogeree.net/hcompta
 
  26   Description: Turn on development settings.
 
  32   Description: Dump some intermediate files.
 
  36   Description: Build only library.
 
  42   Description: Turn on profiling settings.
 
  47   Description: Enable threads.
 
  51   extensions: NoImplicitPrelude
 
  52   ghc-options: -Wall -fno-warn-tabs
 
  54     cpp-options: -DDEVELOPMENT
 
  57     ghc-options: -ddump-ds -ddump-simpl -ddump-splices -ddump-stg -ddump-to-file
 
  59     cpp-options: -DPROFILING
 
  60     ghc-options: -fprof-auto
 
  61   -- default-language: Haskell2010
 
  65     -- Hcompta.CLI.Command.Balance
 
  66     -- Hcompta.CLI.Command.GL
 
  67     -- Hcompta.CLI.Command.Journal
 
  68     Hcompta.CLI.Command.Journals
 
  69     -- Hcompta.CLI.Command.Stats
 
  70     -- Hcompta.CLI.Command.Tags
 
  75     Hcompta.CLI.Format.JCC
 
  76     Hcompta.CLI.Format.Ledger
 
  94     Hcompta.Repr.Text.Write
 
  96     Hcompta.Repr.Tree.Read
 
  99     Hcompta.Trans.Bool.Const
 
 103     , ansi-terminal >= 0.4 && < 0.7
 
 116                  -- NOTE: needed for System.IO.Memoize.once
 
 119     , parsec-error-custom
 
 124     -- , template-haskell
 
 128     , transformers >= 0.4 && < 0.5
 
 129                    -- NOTE: needed for Control.Monad.Trans.Except
 
 131     , walderleijen-ansi-text
 
 134   extensions: NoImplicitPrelude
 
 135   ghc-options: -Wall -fno-warn-tabs
 
 137     ghc-options: -threaded -rtsopts -with-rtsopts=-N
 
 139     cpp-options: -DDEVELOPMENT
 
 142     cpp-options: -DPROFILING
 
 143     ghc-options: -fprof-auto
 
 144   if flag(library-only)
 
 146   main-is: Hcompta/CLI/Main.hs
 
 150     , ansi-terminal >= 0.4 && < 0.7
 
 152     , containers >= 0.5 && < 0.6
 
 153                  -- NOTE: needed for Data.Map.Strict
 
 163                  -- NOTE: needed for System.IO.Memoize.once
 
 165     , parsec-error-custom
 
 169     -- , template-haskell
 
 172     , transformers >= 0.4 && < 0.5
 
 173                    -- NOTE: needed for Control.Monad.Trans.Except
 
 175     , walderleijen-ansi-text
 
 178 Test-Suite hcompta-cli-test
 
 179   type: exitcode-stdio-1.0
 
 180   -- default-language: Haskell2010
 
 181   extensions: NoImplicitPrelude
 
 182   ghc-options: -Wall -fno-warn-tabs
 
 184   hs-source-dirs: Hcompta
 
 200     Trans.Bool.Const.Test
 
 204     ghc-options: -threaded -rtsopts -with-rtsopts=-N
 
 206     cpp-options: -DDEVELOPMENT
 
 209     cpp-options: -DPROFILING
 
 210     ghc-options: -fprof-auto
 
 213     , containers >= 0.5 && < 0.6
 
 224     , transformers >= 0.4 && < 0.5