From f9643d83fb273df56b2a9fc107ca4c58fe4f775d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 13 Jul 2021 14:34:28 +0200 Subject: [PATCH] agent-ctl: Add `make vendor` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This has a similar intent as the go code, but not totally equal. For the go code we want to ensure that the vendored code is up-to-date, while here we want to ensure that `cargo vendor` actually works. We happened to release a few tarballs where `cargo vendor` didn't work and it causes some pain for downstream maintainers. Related: #2159 Signed-off-by: Fabiano FidĂȘncio --- tools/agent-ctl/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/agent-ctl/Makefile b/tools/agent-ctl/Makefile index cfb46560ef..908e30d281 100644 --- a/tools/agent-ctl/Makefile +++ b/tools/agent-ctl/Makefile @@ -11,6 +11,9 @@ build: clean: cargo clean +vendor: + cargo vendor + test: install: @@ -22,4 +25,5 @@ check: test \ check \ install \ - clean + clean \ + vendor