Files
kata-containers/tools/agent-ctl/Makefile
Fabiano Fidêncio f9643d83fb 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>
2021-07-14 13:59:41 +02:00

30 lines
283 B
Makefile

# Copyright (c) 2020 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
default: build
build:
RUSTFLAGS="--deny warnings" cargo build -v
clean:
cargo clean
vendor:
cargo vendor
test:
install:
check:
.PHONY: \
build \
test \
check \
install \
clean \
vendor