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

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:21:16 +02:00
parent 85fef03670
commit bee51e5eed
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
validate-local:
BUILDTAGS="${BUILDTAGS}" hack/make.sh validate-git-marks validate-gofmt
BUILDTAGS="${BUILDTAGS}" hack/make.sh validate-git-marks
hack/validate-gofmt.sh
hack/validate-lint.sh
BUILDTAGS="${BUILDTAGS}" hack/validate-vet.sh

View File

@ -23,5 +23,5 @@ else
echo 'Please reformat the above files using "gofmt -s -w" and commit the result.'
echo
} >&2
false
exit 1
fi