gql2hs/package.yaml

53 lines
1.2 KiB
YAML

name: gql2hs
version: 0.1.0.0
github: "fredefox/gql2hs"
license: BSD3
author: "Frederik Hanghøj Iversen"
maintainer: "fhanghojiversen@zendesk.com"
copyright: "2019 Frederik Hanghøj Iversen"
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/fredefox/gql2hs#readme>
dependencies:
- base >= 4.7 && < 5
- graphql
- haskell-src-exts
- text
- megaparsec
library:
source-dirs: src
executables:
gql2hs-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- gql2hs
tests:
gql2hs-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- gql2hs