add test command for convinience

This commit is contained in:
ideahitme 2017-03-02 11:12:15 +01:00
parent 99371a1e83
commit cfd8dbc40b

View File

@ -28,9 +28,12 @@ cover-html: cover
# The verify target runs tasks similar to the CI tasks, but without code coverage
.PHONY: verify
.PHONY: verify test
verify:
test:
go test -v $(shell go list ./... | grep -v /vendor/)
verify: test
vendor/github.com/kubernetes/repo-infra/verify/verify-boilerplate.sh --rootdir=${CURDIR}
vendor/github.com/kubernetes/repo-infra/verify/verify-go-src.sh -v --rootdir ${CURDIR}
go test -v $(shell go list ./... | grep -v /vendor/)