Skip to content

Commit

Permalink
fix update-operations.sh to catch codegen errors
Browse files Browse the repository at this point in the history
  • Loading branch information
barbieri committed Feb 17, 2022
1 parent 62c02ed commit 8b2e514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/github/update-operations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ sgqlc-codegen operation \
--schema github_schema.json \
github_schema \
sample_operations.py \
sample_operations.gql
sample_operations.gql || exit 1

python3 -c 'import sample_operations' || exit 1
2 changes: 1 addition & 1 deletion examples/shopify/update-operations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ sgqlc-codegen operation \
--schema shopify_schema.json \
shopify_schema \
shopify_operations.py \
shopify_operations.gql
shopify_operations.gql || exit 1

python3 -c 'import shopify_operations' || exit 1

0 comments on commit 8b2e514

Please sign in to comment.