makefile: fix prereqs ordering
This commit is contained in:
Родитель
9f802310ef
Коммит
f592b9c6fa
10
Makefile
10
Makefile
|
@ -2,19 +2,21 @@
|
|||
|
||||
.PHONY: build test validate-generated lint ci devenv
|
||||
|
||||
build:
|
||||
prereqs:
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
|
||||
build: prereqs
|
||||
go generate -v ./...
|
||||
go get .
|
||||
go build -v
|
||||
|
||||
test:
|
||||
test: prereqs
|
||||
go test -v ./...
|
||||
|
||||
validate-generated:
|
||||
validate-generated: prereqs
|
||||
./scripts/validate-generated.sh
|
||||
|
||||
lint:
|
||||
lint: prereqs
|
||||
go get -u github.com/golang/lint/golint
|
||||
# TODO: fix lint errors, enable linting
|
||||
# golint -set_exit_status
|
||||
|
|
Загрузка…
Ссылка в новой задаче