From 8e6cb5e24dd055de8c6062cea65a41f8e04762e0 Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Tue, 24 Jan 2017 19:29:12 +0000 Subject: [PATCH] Print files we currently do not lint. Makes what the build does explicitly and helps for potential debugging. Also reminds us that we are skipping these files, so that we ultimately shfmt them and stop lint-ignoring them. --- Makefile | 2 +- bin/circle-test-unit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3eb7bd7c..27ea6832 100644 --- a/Makefile +++ b/Makefile @@ -176,7 +176,7 @@ exes $(EXES) tests lint: $(BUILD_UPTODATE) $(SUDO) docker run $(RM) $(RUN_FLAGS) \ -v $(shell pwd):/go/src/github.com/weaveworks/weave \ -v $(shell pwd)/.pkg:/go/pkg \ - -e GOARCH=$(ARCH) -e CGO_ENABLED=1 -e GOOS=linux -e CIRCLECI -e CIRCLE_BUILD_NUM -e CIRCLE_NODE_TOTAL -e CIRCLE_NODE_INDEX -e COVERDIR -e SLOW \ + -e GOARCH=$(ARCH) -e CGO_ENABLED=1 -e GOOS=linux -e CIRCLECI -e CIRCLE_BUILD_NUM -e CIRCLE_NODE_TOTAL -e CIRCLE_NODE_INDEX -e COVERDIR -e SLOW -e DEBUG \ $(BUILD_IMAGE) COVERAGE=$(COVERAGE) WEAVE_VERSION=$(WEAVE_VERSION) CC=$(CC) QEMUARCH=$(QEMUARCH) CGO_LDFLAGS=$(CGO_LDFLAGS) $@ else diff --git a/bin/circle-test-unit b/bin/circle-test-unit index b9c98eb4..b9ac9a5d 100755 --- a/bin/circle-test-unit +++ b/bin/circle-test-unit @@ -6,6 +6,6 @@ source "$STATE" if [ -n "$TEST_AND_PUBLISH" ] ; then cd $SRCDIR - make lint + make DEBUG=1 lint COVERDIR=test/coverage make RM= tests fi