cabal-version:      2.4
name:               budget
version:            0.1.0.0
synopsis:           A personal budgeting app

-- A longer description of the package.
-- description:
homepage:

-- A URL where users can report bugs.
-- bug-reports:
license:            MIT
license-file:       LICENSE
author:             Wgaffa
maintainer:         subscription@skriptladan.se

-- A copyright notice.
-- copyright:
category:           Finance
extra-source-files: CHANGELOG.md

library
    exposed-modules:
        Budget,
        Money,
        Rule,
        PrettyPrint


    -- Modules included in this library but not exported.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:
        base ^>=4.18.0.0,
        pos,
        mtl,
        prettyprinter,

    hs-source-dirs:   lib
    default-language: Haskell2010

executable budget
    main-is:          Main.hs

    -- Modules included in this executable, other than Main.
    -- other-modules:

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:
        base ^>=4.18.0.0,
        budget,
        haskeline,
        extra,
        mtl,
        transformers,

    hs-source-dirs:   app
    default-language: Haskell2010

test-suite budget-test
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          MyLibTest.hs
    build-depends:    base ^>=4.18.0.0