Merge pull request #3384 from cfromknecht/run-submodules

Makefile: ensure submodules are linted, covered, and tested
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-08-09 13:02:21 -07:00
commit b2cb15184e
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ GOINSTALL := GO111MODULE=on go install -v
GOTEST := GO111MODULE=on go test -v
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*")
GOLIST := go list $(PKG)/... | grep -v '/vendor/'
GOLISTCOVER := $(shell go list -f '{{.ImportPath}}' ./... | sed -e 's/^$(ESCPKG)/./')
GOLIST := go list -deps $(PKG)/... | grep '$(PKG)'| grep -v '/vendor/'
GOLISTCOVER := $(shell go list -deps -f '{{.ImportPath}}' ./... | grep '$(PKG)' | sed -e 's/^$(ESCPKG)/./')
RM := rm -f
CP := cp
+1 -1
View File
@@ -1,7 +1,7 @@
DEV_TAGS = dev
LOG_TAGS =
TEST_FLAGS =
COVER_PKG = $$(go list ./... | grep -v lnrpc)
COVER_PKG = $$(go list -deps ./... | grep '$(PKG)' | grep -v lnrpc)
# If specific package is being unit tested, construct the full name of the
# subpackage.