Skip to content

Commit ce95b08

Browse files
bergundylina-temporal
authored andcommitted
Commit generated scheduler protos (#8200)
## What - Commit generated scheduler protos. - Improve `make ensure-no-changes` to detect untracked files. ## Why? The protos were not generated since the tool was committed in a separate PR from where the protos were added.
1 parent df12f8c commit ce95b08

File tree

5 files changed

+1008
-1
lines changed

5 files changed

+1008
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,4 +650,5 @@ go-generate: $(MOCKGEN) $(GOIMPORTS) $(STRINGER) $(GOWRAP)
650650
ensure-no-changes:
651651
@printf $(COLOR) "Check for local changes..."
652652
@printf $(COLOR) "========================================================================"
653-
@git diff --name-status --exit-code || (printf $(COLOR) "========================================================================"; printf $(RED) "Above files are not regenerated properly. Regenerate them and try again."; exit 1)
653+
@git status --porcelain
654+
@test -z "`git status --porcelain`" || (printf $(COLOR) "========================================================================"; printf $(RED) "Above files are not regenerated properly. Regenerate them and try again."; exit 1)

chasm/lib/scheduler/gen/schedulerpb/v1/message.go-helpers.pb.go

Lines changed: 154 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)