agent-ctl: Add make vendor

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 <fidencio@redhat.com>
This commit is contained in:
Fabiano Fidêncio 2021-07-13 14:34:28 +02:00
parent 5e69b498ed
commit f9643d83fb

View File

@ -11,6 +11,9 @@ build:
clean: clean:
cargo clean cargo clean
vendor:
cargo vendor
test: test:
install: install:
@ -22,4 +25,5 @@ check:
test \ test \
check \ check \
install \ install \
clean clean \
vendor