mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-29 12:14:48 +00:00
runtime: Add make handle_vendor
This will help us to ensure that we always update the vendored code when needed. Right now we've been lacking behind and we tend to realise something change during the next mandatory update, which is not exactly optimal. Related: #2159 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
parent
79977a25ec
commit
930ca55d02
@ -582,7 +582,8 @@ $(MONITOR_OUTPUT): $(SOURCES) $(GENERATED_FILES) $(MAKEFILE_LIST) .git-commit
|
||||
install \
|
||||
show-header \
|
||||
show-summary \
|
||||
show-variables
|
||||
show-variables \
|
||||
vendor
|
||||
|
||||
$(TARGET).coverage: $(SOURCES) $(GENERATED_FILES) $(MAKEFILE_LIST)
|
||||
$(QUIET_TEST)go test -o $@ -covermode count
|
||||
@ -647,6 +648,11 @@ install-scripts: $(SCRIPTS)
|
||||
install-completions:
|
||||
$(QUIET_INST)install --mode 0644 -D $(BASH_COMPLETIONS) $(DESTDIR)/$(BASH_COMPLETIONSDIR)/$(notdir $(BASH_COMPLETIONS));
|
||||
|
||||
handle_vendor:
|
||||
go mod tidy
|
||||
go mod vendor
|
||||
go mod verify
|
||||
|
||||
clean:
|
||||
$(QUIET_CLEAN)rm -f \
|
||||
$(CONFIGS) \
|
||||
|
Loading…
Reference in New Issue
Block a user