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

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 20:06:40 +02:00
parent 694b1565d1
commit 82268ea8bf
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 BUILDTAGS="${BUILDTAGS}" hack/make.sh validate-git-marks validate-gofmt
hack/validate-lint.sh
BUILDTAGS="${BUILDTAGS}" hack/validate-vet.sh 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

View File

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