Fix a generate doc; add generate to target "all".

This commit is contained in:
Qi Xiao 2016-02-07 20:36:20 +01:00
parent a6b38b1c89
commit c6ec8b528a
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
PKGS := $(filter-out main,$(shell go list -f '{{.Name}}' ./...))
PKG_COVERS := $(addprefix cover/,$(PKGS))
all: get test
all: generate get test
get:
go get .

View File

@ -1,4 +1,2 @@
//go:generate ./godef winsize.go z-winsize.go
// Package sys provide convenient wrappers around syscalls.
package sys