We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25fc732 commit 06ad918Copy full SHA for 06ad918
deploy/cloud/operator/Makefile
@@ -44,6 +44,19 @@ help: ## Display this help.
44
45
##@ Development
46
47
+.PHONY: check
48
+check: generate manifests generate-api-docs
49
+ @echo "> Checking for uncommitted changes"
50
+ @if [ -n "$$(git status --porcelain)" ]; then \
51
+ echo "ERROR: Git tree is dirty after running validation steps."; \
52
+ echo "Please check the diff to identify the step that dirtied the tree."; \
53
+ git --no-pager status; \
54
+ git --no-pager diff; \
55
+ exit 1; \
56
+ fi
57
+ @echo "> Check complete"
58
+
59
60
.PHONY: ensure-yq
61
ensure-yq:
62
@if ! command -v yq &> /dev/null; then \
0 commit comments