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 synopsis: GraphQL with batteries
description: Various extensions and convenience functions for the core description: Various extensions and convenience functions for the core
graphql package. graphql package.
category: Language
homepage: https://www.caraus.tech/projects/pub-graphql-spice homepage: https://www.caraus.tech/projects/pub-graphql-spice
bug-reports: https://www.caraus.tech/projects/pub-graphql-spice/issues bug-reports: https://www.caraus.tech/projects/pub-graphql-spice/issues
license: MPL-2.0
license-files: LICENSE
author: Eugen Wissner <belka@caraus.de> author: Eugen Wissner <belka@caraus.de>
maintainer: belka@caraus.de maintainer: belka@caraus.de
copyright: (c) 2021 Eugen Wissner copyright: (c) 2021 Eugen Wissner
category: Language license: MPL-2.0
license-files: LICENSE
build-type: Simple
extra-source-files: CHANGELOG.md extra-source-files: CHANGELOG.md
tested-with: tested-with:
GHC == 8.10.7 GHC == 8.10.7
source-repository head source-repository head
type: git type: git
@ -24,32 +24,31 @@ source-repository head
library library
exposed-modules: exposed-modules:
Language.GraphQL Language.GraphQL
other-modules: other-modules:
hs-source-dirs: src hs-source-dirs: src
ghc-options: -Wall ghc-options: -Wall
build-depends: build-depends:
-- aeson >= 2.0.2.0 && < 2.1 -- aeson >= 2.0.2.0 && < 2.1
base ^>=4.14.3.0 base ^>=4.14.3.0,
, graphql >= 1.0.1.0 && < 1.1 graphql >= 1.0.1.0 && < 1.1
default-language: Haskell2010 default-language: Haskell2010
test-suite graphql-test test-suite graphql-test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: Spec.hs main-is: Spec.hs
other-modules: other-modules:
Language.GraphQL.DirectiveSpec Language.GraphQL.DirectiveSpec
Language.GraphQL.FragmentSpec Language.GraphQL.FragmentSpec
Language.GraphQL.RootOperationSpec Language.GraphQL.RootOperationSpec
hs-source-dirs: hs-source-dirs:
tests tests
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
build-depends: build-depends:
aeson aeson,
, base >= 4.8 && < 5 base >= 4.8 && < 5,
, graphql graphql,
, hspec >= 2.9.1 && < 3 hspec >= 2.9.1 && < 3,
, text text,
, unordered-containers unordered-containers
default-language: Haskell2010 default-language: Haskell2010