From 67862abfef8959c3ddd7849f5d44958de6723ffb Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Sat, 26 Jan 2019 15:56:05 -0800 Subject: [PATCH] more makefile fixes. --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index deac7ecf..d4fffac1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ PACKAGES=`find ./cmd -mindepth 1 -maxdepth 1 -type d` -LIBRARYS= BINARY=unifi-poller all: clean man build @@ -49,11 +48,11 @@ test: lint for p in $(PACKAGES) $(LIBRARYS); do go test -race -covermode=atomic $${p}; done lint: - goimports -l $(PACKAGES) $(LIBRARYS) - gofmt -l $(PACKAGES) $(LIBRARYS) - errcheck $(PACKAGES) $(LIBRARYS) - golint $(PACKAGES) $(LIBRARYS) - go vet $(PACKAGES) $(LIBRARYS) + goimports -l $(PACKAGES) + gofmt -l $(PACKAGES) + errcheck $(PACKAGES) + golint $(PACKAGES) + go vet $(PACKAGES) man: script/build_manpages.sh ./