packages feed

euler-tour-tree-0.1.0.0: euler-tour-tree.cabal

name:                euler-tour-tree
version:             0.1.0.0
synopsis:            Euler tour trees
-- description:         Cf README file
homepage:            https://github.com/k0ral/euler-tour-tree
license:             PublicDomain
author:              koral
maintainer:          koral@mailoo.org
category:            Data
build-type:          Simple
-- extra-source-files:  ChangeLog.md
cabal-version:       >=1.10


source-repository head
  type:     git
  location: git://github.com/k0ral/euler-tour-tree.git


flag enable-hlint-test
  description: Enable hlint test-suite
  manual: True
  default: False


library
  exposed-modules:
    Data.EulerTourTree
    -- Data.EulerTourTree.Sized
  build-depends:       base >=4.9 && <4.11, containers, fingertree, mtl, parser-combinators, transformers, Unique
  hs-source-dirs:      src
  default-language:    Haskell2010


test-suite unit-tests
    type: exitcode-stdio-1.0
    main-is: UnitTests.hs
    build-depends:
        euler-tour-tree -any,
        base >=4.9,
        containers,
        tasty -any,
        tasty-hunit -any
    default-language: Haskell2010
    hs-source-dirs: test


test-suite property-tests
    type: exitcode-stdio-1.0
    main-is: PropertyTests.hs
    build-depends:
        euler-tour-tree -any,
        base >=4.9,
        containers,
        keys,
        QuickCheck,
        -- quickcheck-instances -any,
        sequence,
        tasty -any,
        tasty-quickcheck -any
    default-language: Haskell2010
    hs-source-dirs: test


test-suite hlint-tests
    if flag(enable-hlint-test)
      buildable: True
    else
      buildable: False
    type: exitcode-stdio-1.0
    main-is: HLint.hs
    build-depends:
        base >=4.9,
        hlint -any
    default-language: Haskell2010
    hs-source-dirs: test