From 82b21bece81f644988ab563d680df8ebbb252587 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 21 Nov 2021 08:30:22 +0100 Subject: [PATCH] Add Setup.hs --- Setup.hs | 2 ++ graphql-spice.cabal | 39 +++++++++++++++++++-------------------- 2 files changed, 21 insertions(+), 20 deletions(-) create mode 100644 Setup.hs diff --git a/Setup.hs b/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/graphql-spice.cabal b/graphql-spice.cabal index 8a06f3a..67ec4de 100644 --- a/graphql-spice.cabal +++ b/graphql-spice.cabal @@ -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 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