-- Initial QuadTree.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                QuadTree

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.11.0

-- A short (one-line) description of the package.
synopsis:            QuadTree library for Haskell, with lens support.

-- A longer description of the package.
-- description:
description:         The purpose of this package is to provide discrete region quadtrees that can be used as effective functional alternatives to 2D arrays, with lens support.

-- The license under which the package is released.
license:             BSD3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Ashley Moni

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          ashley.moni1@gmail.com

-- A copyright notice.
-- copyright:

category:            Data, Game

build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >= 1.10


library
  -- Modules exported by the library.
  exposed-modules:     Data.QuadTree

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

  -- Other library packages from which modules are imported.
  build-depends:       base >= 4.6 && < 4.10,
                       lens >= 4.1 && < 4.13,
                       composition ==1.0.*

  -- http://www.vex.net/~trebla/haskell/cabal-cabal.xhtml
  default-language:    Haskell2010

Test-Suite quadtree-tests
  type: exitcode-stdio-1.0
  main-is: Test/quadtree-tests.hs
  build-depends: base, lens, composition, QuickCheck
  default-language: Haskell2010

source-repository head
  type: git
  location: git@github.com:AshleyMoni/QuadTree.git
