trace-forwarder: 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:31:25 +02:00
parent a104f13230
commit 5e69b498ed

View File

@ -13,6 +13,9 @@ build:
clean:
cargo clean
vendor:
cargo vendor
test:
install:
@ -24,4 +27,5 @@ check:
test \
check \
install \
clean
clean \
vendor