Skip to content

Commit

Permalink
MAISTRA-1666: Add go mod vendor as part of make gen (istio#144)
Browse files Browse the repository at this point in the history
This is to make sure all PR's will have an updated
vendor directory. The `gencheck` prow job will ensure that.
  • Loading branch information
jwendell committed Jul 17, 2020
1 parent 26200b4 commit 06ea2db
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/servicemesh/maistra.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@ maistra-gen-k8s-client:
@$(lister_gen) --input-dirs $(kube_api_packages) --output-package $(kube_listers_package) -h $(kube_go_header_text)
@$(informer_gen) --input-dirs $(kube_api_packages) --versioned-clientset-package $(kube_clientset_package)/$(kube_clientset_name) --listers-package $(kube_listers_package) --output-package $(kube_informers_package) -h $(kube_go_header_text)
@$(move_generated)

.PHONY: vendor
vendor:
@echo "updating vendor"
@go mod vendor
@echo "done updating vendor"

gen: vendor

0 comments on commit 06ea2db

Please sign in to comment.