Add Setup.hs

This commit is contained in:
Eugen Wissner 2021-11-21 08:30:22 +01:00
parent fdd627bf5d
commit 82b21bece8
Signed by: belka
GPG Key ID: A27FDC1E8EE902C0
2 changed files with 21 additions and 20 deletions

2
Setup.hs Normal file
View File

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

View File

@ -5,18 +5,18 @@ version: 0.1.0.0
synopsis: GraphQL with batteries
description: Various extensions and convenience functions for the core
graphql package.
category: Language
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>
maintainer: belka@caraus.de
copyright: (c) 2021 Eugen Wissner
category: Language
license: MPL-2.0
license-files: LICENSE
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with:
GHC == 8.10.7
GHC == 8.10.7
source-repository head
type: git
@ -24,32 +24,31 @@ source-repository head
library
exposed-modules:
Language.GraphQL
Language.GraphQL
other-modules:
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
-- 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
Language.GraphQL.DirectiveSpec
Language.GraphQL.FragmentSpec
Language.GraphQL.RootOperationSpec
hs-source-dirs:
tests
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
aeson,
base >= 4.8 && < 5,
graphql,
hspec >= 2.9.1 && < 3,
text,
unordered-containers
default-language: Haskell2010