Don't run go generate
with make test
`go generate` is taking quite some time now, so just run when necessary.
This commit is contained in:
parent
bb53cc1e4a
commit
d50efa87ed
2
Makefile
2
Makefile
@ -63,7 +63,7 @@ swagger-ui:
|
|||||||
@echo
|
@echo
|
||||||
@echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",'
|
@echo 'Now update pkg/api/static/swagger-ui/index.html to have url: "/api/openapi3.json",'
|
||||||
|
|
||||||
test: generate
|
test:
|
||||||
go test -p 1 -short ${PKG_LIST}
|
go test -p 1 -short ${PKG_LIST}
|
||||||
|
|
||||||
vet:
|
vet:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user