build: compile all go files with "make"

No need to compile the files under the contrib/ directory.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-01-08 11:27:46 +01:00 committed by John Mulligan
parent 62c53cd682
commit 8b6210ac8e
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ ifeq ($(SELINUX),Enforcing)
endif
build:
go build -v
go build -v $(shell go list ./... | grep -v /contrib)
fmt:
go fmt ./...
test: