mirror of
https://github.com/containers/podman.git
synced 2025-09-13 10:46:03 +08:00
make: generate bindings: use vendor
Set `-mod=vendor` when generating the bindings. We expect all dependencies to be vendored already. This should slightly speed up the bindings generation and prevent redundant network accesses. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
2
Makefile
2
Makefile
@ -468,7 +468,7 @@ ifneq ($(shell uname -s), Darwin)
|
|||||||
pushd $${dirname}>/dev/null; \
|
pushd $${dirname}>/dev/null; \
|
||||||
echo $${dirname}; \
|
echo $${dirname}; \
|
||||||
echo $(GO) generate; \
|
echo $(GO) generate; \
|
||||||
$(GO) generate; \
|
$(GO) generate -mod=vendor; \
|
||||||
popd > /dev/null; \
|
popd > /dev/null; \
|
||||||
done;
|
done;
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user