From: Sebastien Douheret Date: Fri, 23 Jun 2017 16:31:43 +0000 (+0200) Subject: Add missing vendor dependency X-Git-Tag: 0.1.0~13 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-agent.git;a=commitdiff_plain;h=1bafa8259d70bdc4691c36c064e4fd756a5e72aa Add missing vendor dependency Signed-off-by: Sebastien Douheret --- diff --git a/Makefile b/Makefile index ad017eb..b55a77a 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ build: tools/syncthing/copytobin @echo "### Build XDS agent (version $(VERSION), subversion $(SUB_VERSION)) - $(BUILD_MODE)"; @cd $(ROOT_SRCDIR); $(BUILD_ENV_FLAGS) go build $(VERBOSE_$(V)) -i -o $(LOCAL_BINDIR)/xds-agent$(EXT) -ldflags "$(GORELEASE) -X main.AppVersion=$(VERSION) -X main.AppSubVersion=$(SUB_VERSION)" . -package: clean tools/syncthing build +package: clean tools/syncthing vendor build @mkdir -p $(PACKAGE_DIR)/xds-agent @cp agent-config.json.in $(PACKAGE_DIR)/xds-agent/agent-config.json @cp -a $(LOCAL_BINDIR)/* $(PACKAGE_DIR)/xds-agent