Skip to content

Commit

Permalink
Show all the differences
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 committed Oct 31, 2023
1 parent a5a00b9 commit 74cdeb3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/includes/sdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -236,13 +236,15 @@ test-gen-all-sdk-grpc:
make gen-all-sdk-grpc
@echo; \
echo "=== Diffing workspace after 'make gen-all-sdk-grpc'"; \
diff_output=$$(git diff --name-status HEAD -- ../sdks); \
diff_output_test_sdk=$$(git diff --name-status HEAD -- ../test/sdk); \
diff_output=$$(git diff HEAD -- ../sdks); \
diff_output_test_sdk=$$(git diff HEAD -- ../test/sdk); \
if [ -z "$$diff_output" ] && [ -z "$$diff_output_test_sdk" ]; then \
echo "+++ Success: No differences found."; \
else \
echo "*** Failure: Differences found:"; \
echo "Changes in ../sdks:"; \
echo "$$diff_output"; \
echo "Changes in ../test/sdk:"; \
echo "$$diff_output_test_sdk"; \
exit 1; \
fi

0 comments on commit 74cdeb3

Please sign in to comment.