graphql-engine/server/graphql-engine.cabal
Anon Ray 4270529c11 basic test suite (#78)
* server: basic test setup

* server: use the default transaction mode

* server: basic tests in yaml files

* server: restructure test setup and some more tests
2018-07-11 12:43:07 +05:30

230 lines
7.6 KiB
Plaintext

name: graphql-engine
version: 1.0.0
synopsis: GraphQL API over Postgres
-- description:
homepage: https://www.hasura.io
license: AGPL-3.0
-- license-file: LICENSE.md
author: Vamshi Surabhi
maintainer: vamshi@hasura.io
copyright: 2017-2018 Hasura Techonologies Pvt. Ltd
category: Database
build-type: Simple
-- extra-source-files: README.md
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/hasura/graphql-engine
flag developer
description: operate in developer mode
default: False
manual: True
library
default-extensions: NoImplicitPrelude
hs-source-dirs: src-lib
, src-exec
default-language: Haskell2010
build-depends: base
, pg-client
, text
, bytestring
, postgresql-libpq
, mtl
, aeson
, aeson-casing
, unordered-containers
, template-haskell
, hashable
, transformers
, transformers-base
, http-types
, attoparsec
, attoparsec-iso8601 >= 1.0
, time
, scientific
, Spock-core
, split
, optparse-applicative
, wai-extra
, containers
, monad-control
, wai-logger
, fast-logger
, wai
, postgresql-binary
, process
-- Encoder related
, uuid
, vector
-- Logging related
, network
, byteorder
-- hashing for logging
, cryptonite
-- Server related
, warp
, th-lift-instances
, lens
-- GraphQL related
, graphql-parser
, wai-middleware-static
-- URL parser related
, network-uri
-- String related
, case-insensitive
, string-conversions
-- Http client
, wreq
, http-client
, http-client-tls
, connection
-- ordered map
, insert-ordered-containers
-- Parsing SemVer
, semver
-- Templating
, mustache
--
, data-has
-- for src-exec
, yaml
, template-haskell >= 2.11
exposed-modules: Hasura.Server.App
, Hasura.Server.Init
, Hasura.Server.Middleware
, Hasura.Server.Logging
, Hasura.Server.Query
, Hasura.Server.Utils
, Hasura.Server.Version
, Hasura.RQL.Types
, Hasura.RQL.Instances
, Hasura.RQL.Types.SchemaCache
, Hasura.RQL.Types.Common
, Hasura.RQL.Types.Permission
, Hasura.RQL.Types.Error
, Hasura.RQL.Types.DML
, Hasura.RQL.DDL.Deps
, Hasura.RQL.DDL.Permission.Internal
, Hasura.RQL.DDL.Permission
, Hasura.RQL.DDL.Relationship
, Hasura.RQL.DDL.QueryTemplate
, Hasura.RQL.DDL.Schema.Table
, Hasura.RQL.DDL.Schema.Diff
, Hasura.RQL.DDL.Metadata
, Hasura.RQL.DDL.Utils
, Hasura.RQL.DML.Delete
, Hasura.RQL.DML.Explain
, Hasura.RQL.DML.Internal
, Hasura.RQL.DML.Insert
, Hasura.RQL.DML.Returning
, Hasura.RQL.DML.Select
, Hasura.RQL.DML.Update
, Hasura.RQL.DML.Count
, Hasura.RQL.DML.QueryTemplate
, Hasura.RQL.GBoolExp
, Hasura.GraphQL.Execute
, Hasura.GraphQL.Execute.Result
, Hasura.GraphQL.Schema
, Hasura.GraphQL.Utils
, Hasura.GraphQL.Validate.Types
, Hasura.GraphQL.Validate.Context
, Hasura.GraphQL.Validate.Field
, Hasura.GraphQL.Validate.InputValue
, Hasura.GraphQL.Resolve.BoolExp
, Hasura.GraphQL.Resolve.Context
, Hasura.GraphQL.Resolve.InputValue
, Hasura.GraphQL.Resolve.Introspect
, Hasura.GraphQL.Resolve.Mutation
, Hasura.GraphQL.Resolve.Select
, Data.Text.Extended
, Data.Sequence.NonEmpty
, Data.HashMap.Strict.InsOrd.Extended
, Hasura.SQL.DML
, Hasura.SQL.Types
, Hasura.SQL.Value
, Hasura.SQL.GeoJSON
, Hasura.SQL.Time
, Hasura.Prelude
, Ops
, TH
if flag(developer)
ghc-prof-options: -rtsopts -fprof-auto -fno-prof-count-entries
ghc-options: -O2 -Wall
executable graphql-engine
default-extensions: NoImplicitPrelude
main-is: Main.hs
default-language: Haskell2010
hs-source-dirs: src-exec
build-depends: base
, Spock-core >= 0.11
, graphql-engine
, aeson >= 1.0
, bytestring >= 0.10
, mtl
, optparse-applicative >= 0.12
, yaml
, template-haskell >= 2.11 , time >= 1.6
, text
, lens
, unordered-containers >= 0.2
, pg-client
other-modules: Ops
TH
if flag(developer)
ghc-prof-options: -rtsopts -fprof-auto -fno-prof-count-entries
ghc-options: -O2 -Wall -threaded
test-suite graphql-engine-test
type: exitcode-stdio-1.0
main-is: Main.hs
Default-Language: Haskell2010
Hs-Source-Dirs: test
ghc-options: -O2 -Wall
Build-Depends: Spock-core >= 0.11
, base
, aeson
, aeson-casing
, bytestring
--, directory
--, fgl
, filepath
, hspec
, hspec-core
, hspec-wai
--, http-types
, optparse-applicative
, graphql-engine -any
, text
, transformers
, wai
, wai-extra
--, unordered-containers
, pg-client
, time
, yaml
other-modules: Spec