mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-07 16:34:28 +01:00
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>
30 lines
283 B
Makefile
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
|