summaryrefslogtreecommitdiff
path: root/graphql.cabal
diff options
context:
space:
mode:
authorDanny Navarro <j@dannynavarro.net>2015-09-14 17:01:14 +0200
committerDanny Navarro <j@dannynavarro.net>2015-09-14 17:01:14 +0200
commit8d81f43b611bd9624ab1ebfdb8c0cd9c2e4d9539 (patch)
tree5b81e9f0c5a19a3b89b4b4c56ae1cc2faafd8069 /graphql.cabal
parentb4b83883924a0e7c8eacd63f26b098fe31c9e0be (diff)
downloadgraphql-8d81f43b611bd9624ab1ebfdb8c0cd9c2e4d9539.tar.gz
Add golden test for kitchen-sink.graphql
Diffstat (limited to 'graphql.cabal')
-rw-r--r--graphql.cabal14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphql.cabal b/graphql.cabal
index 55759d1..790a2af 100644
--- a/graphql.cabal
+++ b/graphql.cabal
@@ -18,13 +18,27 @@ tested-with: GHC == 7.10
extra-source-files: README.md CHANGELOG.md stack.yaml
library
+ default-language: Haskell2010
+ ghc-options: -Wall
exposed-modules: Data.GraphQL.AST
Data.GraphQL.Parser
build-depends: base >= 4.7 && < 5,
text >=0.11.3.1,
attoparsec >=0.10.4.0
+
+test-suite golden
default-language: Haskell2010
+ type: exitcode-stdio-1.0
+ hs-source-dirs: tests
+ main-is: golden.hs
ghc-options: -Wall
+ build-depends: base >= 4.6 && <5,
+ bytestring,
+ text,
+ attoparsec,
+ tasty >=0.10,
+ tasty-golden,
+ graphql
source-repository head
type: git