Skip to content

Commit

Permalink
handle diff in grpc code
Browse files Browse the repository at this point in the history
  • Loading branch information
vcidst committed Oct 21, 2024
1 parent 21cd6c2 commit 0c7663d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ generate-grpc: ## generate grpc code
--pyi_out=. \
proto/action_webhook.proto

check-generate-grpc-code-in-sync: generate-grpc
check-generate-grpc-code-in-sync: ## check if the generated code is in sync with the proto files
# this is a helper to check if the generated code is in sync with the proto files
check-generate-grpc-code-in-sync: generate-grpc ## check if the generated code is in sync with the proto files, it uses a helper to check if the generated code is in sync with the proto files
git diff --exit-code rasa_sdk/grpc_py | if [ "$$(wc -c)" -eq 0 ]; then echo "Generated code is in sync with proto files"; else echo "Generated code is not in sync with proto files"; exit 1; fi

GRPC_STANDALONE_SERVER_INTEGRATION_TEST_RESULTS_FILE = grpc-standalone-server-integration-test-results.xml
Expand Down
1 change: 0 additions & 1 deletion rasa_sdk/grpc_py/action_webhook_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c7663d

Please sign in to comment.