Skip to content

Commit

Permalink
Verify new files added to git. (#2843)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi authored Aug 19, 2024
1 parent 49ef9b9 commit d2b257a
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 d2b257a

Please sign in to comment.