From eee3e8d3316cf1453e2660d2eea790f12926ef88 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 31 Jan 2017 16:45:37 +0000 Subject: [PATCH] touch exes after running build command The executables have dependencies that are not apparent to `go build`; notably the build container. If Go doesn't see anything is out of date then it will do nothing, hence touch the file so next time we run `make` it is up to date. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5fc050a5..8f7d62df 100644 --- a/Makefile +++ b/Makefile @@ -179,6 +179,7 @@ exes $(EXES) tests lint: $(BUILD_UPTODATE) -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 DEBUG \ $(BUILD_IMAGE) COVERAGE=$(COVERAGE) WEAVE_VERSION=$(WEAVE_VERSION) CC=$(CC) QEMUARCH=$(QEMUARCH) CGO_LDFLAGS=$(CGO_LDFLAGS) $@ + touch $@ else