more makefile fixes.
This commit is contained in:
parent
4173ddd17a
commit
37ea821f3f
|
|
@ -1,5 +1,4 @@
|
||||||
PACKAGES=`find ./cmd -mindepth 1 -maxdepth 1 -type d`
|
PACKAGES=`find ./cmd -mindepth 1 -maxdepth 1 -type d`
|
||||||
LIBRARYS=
|
|
||||||
BINARY=unifi-poller
|
BINARY=unifi-poller
|
||||||
|
|
||||||
all: clean man build
|
all: clean man build
|
||||||
|
|
@ -49,11 +48,11 @@ test: lint
|
||||||
for p in $(PACKAGES) $(LIBRARYS); do go test -race -covermode=atomic $${p}; done
|
for p in $(PACKAGES) $(LIBRARYS); do go test -race -covermode=atomic $${p}; done
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
goimports -l $(PACKAGES) $(LIBRARYS)
|
goimports -l $(PACKAGES)
|
||||||
gofmt -l $(PACKAGES) $(LIBRARYS)
|
gofmt -l $(PACKAGES)
|
||||||
errcheck $(PACKAGES) $(LIBRARYS)
|
errcheck $(PACKAGES)
|
||||||
golint $(PACKAGES) $(LIBRARYS)
|
golint $(PACKAGES)
|
||||||
go vet $(PACKAGES) $(LIBRARYS)
|
go vet $(PACKAGES)
|
||||||
|
|
||||||
man:
|
man:
|
||||||
script/build_manpages.sh ./
|
script/build_manpages.sh ./
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue