mirror of https://github.com/containers/podman.git
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:
parent
341c4b1fd9
commit
4629942686
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
|
||||||
|
|
Loading…
Reference in New Issue