packages feed

harvest-api-0.1.0: harvest-api.cabal

name:                 harvest-api
version:              0.1.0
cabal-version:        >= 1.10
license:              MIT
license-file:         LICENSE.md
author:               Stack Builders
maintainer:           Mark Karpov <mkarpov@stackbuilders.com>
homepage:             https://github.com/stackbuilders/harvest-api
bug-reports:          https://github.com/stackbuilders/harvest-api/issues
category:             Web
synopsis:             Bindings for Harvest API
build-type:           Simple
description:          Bindings for Harvest API.
extra-source-files:   CHANGELOG.md
                    , README.md

source-repository head
  type:               git
  location:           https://github.com/stackbuilders/harvest-api.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      aeson            >= 0.11
                    , base             >= 4.8 && < 5
                    , bytestring       >= 0.10.4.1
                    , http-client      >= 0.4.26
                    , mtl              >= 2.2.0.1
                    , servant          >= 0.7
                    , servant-client   >= 0.7
                    , text             >= 1.2
                    , time             >= 1.5.0.1
                    , transformers     >= 0.4 && < 0.6
  exposed-modules:    Web.Harvest.API
                    , Web.Harvest.API.Type
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010

test-suite tests
  main-is:            Spec.hs
  hs-source-dirs:     tests
  type:               exitcode-stdio-1.0
  build-depends:      aeson            >= 0.11
                    , base             >= 4.8 && < 5
                    , bytestring       >= 0.10.4.1
                    , file-embed
                    , harvest-api      >= 0.1.0
                    , hspec            >= 2.0
                    , time             >= 1.5.0.1
  other-modules:      Web.Harvest.APISpec
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  default-language:   Haskell2010