Skip to content

Commit 8bd4003

Browse files
authored
Merge pull request #151 from furkatgofurov7/include-chart-folder-to-verifymodule-target
🌱 Include chart-update folder to verify-modules Makefile target
2 parents 0afa892 + fce78a4 commit 8bd4003

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ CURL_RETRIES=3
4040

4141
# Directories
4242
TOOLS_DIR := $(ROOT)/hack/tools
43+
CHART_UPDATE_DIR := $(ROOT)/hack/chart-update
4344
TOOLS_BIN_DIR := $(TOOLS_DIR)/bin
4445
JUNIT_REPORT_DIR := $(TOOLS_DIR)/_out
4546
BIN_DIR := bin
@@ -261,7 +262,7 @@ verify:
261262

262263
.PHONY: verify-modules
263264
verify-modules: modules
264-
@if !(git diff --quiet HEAD -- go.sum go.mod $(TOOLS_DIR)/go.mod $(TOOLS_DIR)/go.sum); then \
265+
@if !(git diff --quiet HEAD -- go.sum go.mod $(TOOLS_DIR)/go.mod $(TOOLS_DIR)/go.sum $(CHART_UPDATE_DIR)/go.mod $(CHART_UPDATE_DIR)/go.sum); then \
265266
git diff; \
266267
echo "go module files are out of date"; exit 1; \
267268
fi
@@ -304,6 +305,7 @@ generate-manifests: $(CONTROLLER_GEN) ## Generate manifests for the operator e.g
304305
modules: ## Runs go mod to ensure modules are up to date.
305306
go mod tidy
306307
cd $(TOOLS_DIR); go mod tidy
308+
cd $(CHART_UPDATE_DIR); go mod tidy
307309

308310
## --------------------------------------
309311
## Docker

0 commit comments

Comments
 (0)