Skip to content

Commit

Permalink
Verify new files added to git. (kubernetes-sigs#2843)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi committed Aug 20, 2024
1 parent 4c39066 commit 9a1b3b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ lint-fix: golangci-lint
shell-lint: ## Run shell linting.
$(PROJECT_DIR)/hack/shellcheck/verify.sh

PATHS_TO_VERIFY := config/components apis charts/kueue/templates client-go site/
.PHONY: verify
verify: gomod-verify ci-lint fmt-verify shell-lint toc-verify manifests generate update-helm generate-apiref generate-kueuectl-docs prepare-release-branch
git --no-pager diff --exit-code config/components apis charts/kueue/templates client-go site/
git --no-pager diff --exit-code $(PATHS_TO_VERIFY)
if git ls-files --exclude-standard --others $(PATHS_TO_VERIFY) | grep -q . ; then exit 1; fi

##@ Build

Expand Down

0 comments on commit 9a1b3b2

Please sign in to comment.