Add missing vendor dependency
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 23 Jun 2017 16:31:43 +0000 (18:31 +0200)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 23 Jun 2017 16:31:43 +0000 (18:31 +0200)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile

index ad017eb..b55a77a 100644 (file)
--- 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