Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Print ast #4

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: purescript-contrib/setup-purescript@main

- name: Cache PureScript dependencies
uses: actions/cache@v2
# This cache uses the .dhall files to know when it should reinstall
# and rebuild packages. It caches both the installed packages from
# the `.spago` directory and compilation artifacts from the `output`
# directory. When restored the compiler will rebuild any files that
# have changed. If you do not want to cache compiled output, remove
# the `output` path.
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
path: |
.spago
output

- run: spago build

- run: spago test --no-install
3 changes: 2 additions & 1 deletion packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ let additions =
-------------------------------
-}
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210409/packages.dhall sha256:e81c2f2ce790c0e0d79869d22f7a37d16caeb5bd81cfda71d46c58f6199fd33f
https://github.com/purescript/package-sets/releases/download/psc-0.15.4-20220816/packages.dhall
sha256:8b4467b4b5041914f9b765779c8936d6d4c230b1f60eb64f6269c71812fd7e98

let overrides = {=}

Expand Down
31 changes: 29 additions & 2 deletions spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,34 @@ You can edit this file as you like.
, repository = "https://github.com/meeshkan/purescript-graphql-parser"
, license = "Apache-2.0"
, dependencies =
[ "console", "effect", "numbers", "parsing", "psci-support" ]
[ "aff"
, "arrays"
, "console"
, "control"
, "effect"
, "either"
, "enums"
, "exceptions"
, "foldable-traversable"
, "integers"
, "lists"
, "maybe"
, "newtype"
, "node-buffer"
, "node-fs"
, "numbers"
, "ordered-collections"
, "parsing"
, "prelude"
, "profunctor"
, "profunctor-lenses"
, "psci-support"
, "spec"
, "spec-discovery"
, "strings"
, "transformers"
, "tuples"
]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
, sources = [ "src/**/*.purs", "test/**/*.purs" ]
}
1 change: 1 addition & 0 deletions src/Data/GraphQL/AST.purs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module Data.GraphQL.AST where

import Prim hiding (Type)
import Prelude
import Data.Generic.Rep (class Generic)
import Data.Show.Generic (genericShow)
Expand Down
Loading