mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 09:04:10 -04:00
more makefile fixes.
This commit is contained in:
11
Makefile
11
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 ./
|
||||
|
||||
Reference in New Issue
Block a user