Do a git submodule update every time we enter the build container.
This commit is contained in:
1 parent
c098aefed9
commit
6684ae8316
1 file changed
+1
-1
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user