Skip to content

Commit

Permalink
fixup! Update check-codegen to fail CI if examples not regenerated
Browse files Browse the repository at this point in the history
Signed-off-by: Elliot Gunton <[email protected]>
  • Loading branch information
elliotgunton committed Jun 20, 2024
1 parent 81b63ca commit 5d905c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ codegen: models services examples init-files
check-codegen: ## Check if the code is up to date
check-codegen:
@$(MAKE) codegen
@git diff --exit-code || echo "Code is not up-to-date. Please run 'make codegen'" && exit 1
@git diff --exit-code || (echo "Code is not up-to-date. Please run 'make codegen'" && exit 1)

.PHONY: format
format: ## Format and sort imports for source, tests, examples, etc.
Expand Down

0 comments on commit 5d905c2

Please sign in to comment.