summaryrefslogtreecommitdiff
path: root/graphql-spice.cabal
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-11-20 07:20:31 +0100
committerEugen Wissner <belka@caraus.de>2021-11-20 07:20:31 +0100
commitfdd627bf5d7ae7a78f716ffb2245710e5e200477 (patch)
treed8af1fe82a38782c4313cc8d0a0a9a261bb3750b /graphql-spice.cabal
parentb387c10d750783822e0ce40fb813355f132c50c9 (diff)
downloadgraphql-spice-fdd627bf5d7ae7a78f716ffb2245710e5e200477.tar.gz
Move functional tests
Diffstat (limited to 'graphql-spice.cabal')
-rw-r--r--graphql-spice.cabal29
1 files changed, 25 insertions, 4 deletions
diff --git a/graphql-spice.cabal b/graphql-spice.cabal
index 0ac60af..8a06f3a 100644
--- a/graphql-spice.cabal
+++ b/graphql-spice.cabal
@@ -5,10 +5,8 @@ version: 0.1.0.0
synopsis: GraphQL with batteries
description: Various extensions and convenience functions for the core
graphql package.
-
--- A URL where users can report bugs.
--- bug-reports:
-
+homepage: https://www.caraus.tech/projects/pub-graphql-spice
+bug-reports: https://www.caraus.tech/projects/pub-graphql-spice/issues
license: MPL-2.0
license-files: LICENSE
author: Eugen Wissner <belka@caraus.de>
@@ -17,6 +15,8 @@ maintainer: belka@caraus.de
copyright: (c) 2021 Eugen Wissner
category: Language
extra-source-files: CHANGELOG.md
+tested-with:
+ GHC == 8.10.7
source-repository head
type: git
@@ -29,6 +29,27 @@ library
hs-source-dirs: src
ghc-options: -Wall
build-depends:
+-- aeson >= 2.0.2.0 && < 2.1
base ^>=4.14.3.0
, graphql >= 1.0.1.0 && < 1.1
default-language: Haskell2010
+
+
+test-suite graphql-test
+ type: exitcode-stdio-1.0
+ main-is: Spec.hs
+ other-modules:
+ Language.GraphQL.DirectiveSpec
+ Language.GraphQL.FragmentSpec
+ Language.GraphQL.RootOperationSpec
+ hs-source-dirs:
+ tests
+ ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
+ build-depends:
+ aeson
+ , base >= 4.8 && < 5
+ , graphql
+ , hspec >= 2.9.1 && < 3
+ , text
+ , unordered-containers
+ default-language: Haskell2010