makefile: generate: do go generate && format

This commit is contained in:
Andrey Konovalov 2017-06-13 19:39:21 +02:00
parent 9104d6496b
commit 0ff787f888

View File

@ -58,6 +58,8 @@ bin/syz-extract: syz-extract/*.go sysparser/*.go
generate: bin/syz-sysgen
bin/syz-sysgen
go generate ./...
$(MAKE) format
bin/syz-sysgen: sysgen/*.go sysparser/*.go
go build $(GOFLAGS) -o $@ ./sysgen
@ -71,7 +73,6 @@ tidy:
presubmit:
$(MAKE) generate
go generate ./...
$(MAKE) format
$(MAKE) executor
ARCH=amd64 go install ./...