cabal-version:      1.12
name:               math-programming
version:            0.4.0
license:            BSD3
license-file:       LICENSE
copyright:          2018 Patrick Steele
maintainer:         steele.pat@gmail.com
author:             Patrick Steele
homepage:           https://github.com/prsteele/math-programming#readme
bug-reports:        https://github.com/prsteele/math-programming/issues
synopsis:           A library for formulating and solving math programs.
description:
    Please see the README on GitHub at <https://github.com/prsteele/math-programming#readme>

category:           Math
build-type:         Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/prsteele/math-programming

library
    exposed-modules:
        Math.Programming
        Math.Programming.Dsl
        Math.Programming.Types

    hs-source-dirs:   src
    other-modules:    Paths_math_programming
    default-language: Haskell2010
    ghc-options:      -Wall
    build-depends:
        base >=4.7 && <5,
        containers >=0.6.0.1 && <0.7,
        mtl >=2.2.2 && <2.3,
        text >=1.2.3.1 && <1.3

test-suite math-programming-test
    type:             exitcode-stdio-1.0
    main-is:          Driver.hs
    hs-source-dirs:   test
    other-modules:
        Math.Programming.TestLinearExpression
        Paths_math_programming

    default-language: Haskell2010
    ghc-options:      -threaded -rtsopts -with-rtsopts=-N -Wall
    build-depends:
        base >=4.7 && <5,
        containers >=0.6.0.1 && <0.7,
        math-programming -any,
        mtl >=2.2.2 && <2.3,
        tasty >=1.2.3 && <1.3,
        tasty-discover >=4.2.1 && <4.3,
        tasty-hunit >=0.10.0.2 && <0.11,
        tasty-quickcheck >=0.10.1.1 && <0.11,
        text >=1.2.3.1 && <1.3