Skip to content

Commit

Permalink
make: generate bindings: use vendor
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vrothberg authored and Achilleas Tzenetopoulos committed Jan 26, 2021
1 parent e890150 commit 7e03a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ ifneq ($(shell uname -s), Darwin)
pushd $${dirname}>/dev/null; \
echo $${dirname}; \
echo $(GO) generate; \
$(GO) generate; \
$(GO) generate -mod=vendor; \
popd > /dev/null; \
done;
endif
Expand Down

0 comments on commit 7e03a79

Please sign in to comment.