Don't use hack/make.sh for validate-vet

hack/make.sh now does not make a difference, so simplify.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
Miloslav Trmač 2023-04-05 19:57:03 +02:00
parent 225f239a69
commit 43090b2917
2 changed files with 3 additions and 2 deletions

View File

@ -223,7 +223,8 @@ test-all-local: validate-local validate-docs test-unit-local
.PHONY: validate-local .PHONY: validate-local
validate-local: validate-local:
BUILDTAGS="${BUILDTAGS}" hack/make.sh validate-git-marks validate-gofmt validate-lint validate-vet BUILDTAGS="${BUILDTAGS}" hack/make.sh validate-git-marks validate-gofmt validate-lint
BUILDTAGS="${BUILDTAGS}" hack/validate-vet.sh
# This invokes bin/skopeo, hence cannot be run as part of validate-local # This invokes bin/skopeo, hence cannot be run as part of validate-local
.PHONY: validate-docs .PHONY: validate-docs

View File

@ -12,5 +12,5 @@ else
echo 'Please fix the above errors. You can test via "go vet" and commit the result.' echo 'Please fix the above errors. You can test via "go vet" and commit the result.'
echo echo
} >&2 } >&2
false exit 1
fi fi