Skip to content
Snippets Groups Projects
  • Alice Brenon's avatar
    * Add unit tests · 5d18e020
    Alice Brenon authored
    * Add optparse-applicative parsers for input / output parameters
    * Rework metadata types and the way they compose (splitting Article into
      PrimaryKey and Entry)
    5d18e020
geode.cabal 2.19 KiB
cabal-version:      2.4
name:               geode
version:            0.1.0.0
synopsis:
    Data structures and tooling used in project GEODE

-- A longer description of the package.
-- description:
homepage:           https://geode-project.github.io/

-- A URL where users can report bugs.
-- bug-reports:
license:            GPL-3.0-or-later
license-file:       LICENSE
author:             Alice BRENON
maintainer:         alice.brenon@ens-lyon.fr

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

library
    exposed-modules:  GEODE.Metadata
                    , GEODE.Metadata.Entry
                    , GEODE.Metadata.SplitContext
                    , GEODE.Metadata.TSV.Header
                    , GEODE.Options

    -- Modules included in this library but not exported.
    other-modules:    GEODE.Metadata.Contrastive
                    , GEODE.Metadata.PrimaryKey
                    , GEODE.Metadata.TSV
                    , GEODE.Metadata.Types

    -- LANGUAGE extensions used by modules in this package.
    -- other-extensions:
    build-depends:    base >=4.16 && <4.17
                    , bytestring >= 0.11.3 && <0.12
                    , containers >= 0.6.5.1 && <0.7
                    , cassava >= 0.5.3 && <0.6
                    , filepath >= 1.4.2.2 && <1.5
                    , mtl >= 2.2.2 && <2.3
                    , optparse-applicative >= 0.13.2 && <0.18
                    , text >= 1.2.5 && <1.3
                    , unordered-containers >= 0.2.19.1 && <0.3
                    , vector >= 0.12.3.1 && <0.13
    hs-source-dirs:   lib
    default-language: Haskell2010

test-suite ghc-geode-test
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    other-modules:    GEODE.Metadata.TestEntry
                    , GEODE.Metadata.TestPrimaryKey
                    , Test.HUnit.Extra
    build-depends:    base
                    , bytestring
                    , containers
                    , cassava
                    , geode
                    , mtl
                    , HUnit >= 1.6.2.0 && <1.7
                    , text
                    , unordered-containers