cabal-version:       >=1.10
-- Initial package description 'teiwa.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/

name:                teiwa
version:             0.1.0.0
synopsis:            TEI Word Annotator
description:
  The TEI word annotator applies morpho-syntactic annotations following the
  Lightweight Linguistic Annotation proposed by the TEI consortium
  (https://tei-c.org/release/doc/tei-p5-doc/en/html/AI.html#AILALW) back on the
  text that was annotated to achieve «in-place» annotation

homepage:            https://gitlab.liris.cnrs.fr/abrenon/teiwa
-- bug-reports:
license:             BSD3
license-file:        LICENSE
author:              Alice BRENON
maintainer:          alice.brenon@ens-lyon.fr
-- copyright:
category:            Text
build-type:          Simple
extra-source-files:  CHANGELOG.md

library
  exposed-modules:     Text.TEIWA
  other-modules:       Text.TEIWA.Annotation
                     , Text.TEIWA.Config
                     , Text.TEIWA.Error
                     , Text.TEIWA.Source
                     , Text.TEIWA.Source.Common
                     , Text.TEIWA.Source.CoNLLX
                     , Text.TEIWA.Source.SSV
  build-depends:       base >=4.12 && <4.15
                     , bytestring
                     , mtl
                     , parsec
                     , text
  hs-source-dirs:      lib
  default-language:    Haskell2010
  ghc-options:         -Wall

executable teiwa
  main-is:             Main.hs
  other-modules:       CLI
                     , Paths_teiwa
  -- other-extensions:
  build-depends:       base >=4.12 && <4.13
                     , filepath
                     , mtl
                     , optparse-applicative
                     , parsec
                     , teiwa
                     , text
  hs-source-dirs:      app
  default-language:    Haskell2010
  ghc-options:         -Wall