mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 06:34:03 +00:00
agent: 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:
parent
579b3f34c2
commit
a104f13230
@ -121,6 +121,10 @@ clean:
|
||||
@rm -f $(GENERATED_FILES)
|
||||
@rm -f tarpaulin-report.html
|
||||
|
||||
vendor:
|
||||
@cargo vendor
|
||||
|
||||
|
||||
#TARGET test: run cargo tests
|
||||
test:
|
||||
@cargo test --all --target $(TRIPLE)
|
||||
@ -190,7 +194,8 @@ codecov-html: check_tarpaulin
|
||||
help \
|
||||
show-header \
|
||||
show-summary \
|
||||
optimize
|
||||
optimize \
|
||||
vendor
|
||||
|
||||
##TARGET generate-protocols: generate/update grpc agent protocols
|
||||
generate-protocols:
|
||||
|
Loading…
Reference in New Issue
Block a user