A cli database for some FFX stuff
cabal-version:      2.4
name:               ffxwt
version:            0.1.0.0
synopsis:           A FFX Cli utility

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

-- 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:
extra-source-files: CHANGELOG.md

library
    exposed-modules:
        Overdrive
        , Item
        , Spell
        , Grid
        , Location
        , AlBhed
        , AlBhed.Index
        , Data.PrintableText
        , Data.NonEmptyList
        , Data.JSON

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

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:
        base ^>=4.16.0.0
        , containers
        , lens
        , text
        , aeson
        , scientific
        , casing
        , vector
        , bytestring
        , prettyprinter

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

test-suite data-tests
    type: exitcode-stdio-1.0
    main-is: DataTest.hs
    hs-source-dirs:
        test
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
    build-depends:
        ffxwt
        , base ^>=4.16.0.0
        , tasty
        , tasty-hunit
        , tasty-quickcheck
    default-language: Haskell2010

executable ffxwt
    main-is:          Main.hs

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

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:
        base ^>=4.16.0.0,
        ffxwt
        , optparse-applicative
        , extra
        , text
        , attoparsec
        , generic-deriving
        , filepath
        , xdg-basedir
        , bytestring
        , mtl
        , directory

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