Sha256: 007b536546dc49f691984e575fb11b08f3a288c4d17a2000ad4b3f8d53b2fb80

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 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
cat ../api-client-schema/src/operations/subscriptions.graphql >> operations.graphql

cp ../api-client-schema/src/generated/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

printf "api-client-ruby generated!\n"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stigg-api-client-0.3.0 scripts/generate.sh