Do a git submodule update every time we enter the build container.

This commit is contained in:
Tom Wilkie committed 2016-01-13 05:58:41 -08:00
1 parent c098aefed9
commit 6684ae8316
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ lint: $(BUILD_UPTODATE) tools/.git
ifeq ($(BUILD_IN_CONTAINER),true)
$(EXES) tests lint:
@if [ -z "$$(find vendor -type f -print -quit)" ] ; then git submodule update --init ; fi
git submodule update
@mkdir -p $(shell pwd)/.pkg
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
-v $(shell pwd):/go/src/github.com/weaveworks/weave \