Sha256: 908d086c27b7c1d51339a4982c8c2e3e0ec7080a657de4e80800f5155996681f

Contents?: true

Size: 494 Bytes

Versions: 2

Compression:

Stored size: 494 Bytes

Contents

# stitch the operation files together
cat ../api-client-schema/src/operations/fragments.graphql > operations.graphql
cat ../api-client-schema/src/operations/queries.graphql >> operations.graphql
cat ../api-client-schema/src/operations/mutations.graphql >> operations.graphql

cp ../api-client-schema/src/schema.json schema.json

cat <<-EOF > schema.json
  $(echo { \"data\": ) $(cat schema.json) $(echo })
EOF

node scripts/generate-operations.mjs

rubocop -a lib/stigg/generated/operations.rb

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stigg-api-client-0.1.1 scripts/generate.sh
stigg-api-client-0.1.0 scripts/generate.sh