Skip to content

Commit

Permalink
Update istioctl completion file targets (#34091)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Van Norman committed Jul 15, 2021
1 parent cfb2561 commit 94e72ca
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile.core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -432,13 +432,11 @@ ${ISTIO_OUT}/release/istioctl-win.exe: depend
GOOS=windows LDFLAGS=$(RELEASE_LDFLAGS) common/scripts/gobuild.sh $@ ./istioctl/cmd/istioctl

# generate the istioctl completion files
${ISTIO_OUT}/release/istioctl.bash: istioctl
${LOCAL_OUT}/istioctl collateral --bash && \
mv istioctl.bash ${ISTIO_OUT}/release/istioctl.bash
${ISTIO_OUT}/release/istioctl.bash: ${LOCAL_OUT}/istioctl
${LOCAL_OUT}/istioctl completion bash > ${ISTIO_OUT}/release/istioctl.bash

${ISTIO_OUT}/release/_istioctl: istioctl
${LOCAL_OUT}/istioctl collateral --zsh && \
mv _istioctl ${ISTIO_OUT}/release/_istioctl
${ISTIO_OUT}/release/_istioctl: ${LOCAL_OUT}/istioctl
${LOCAL_OUT}/istioctl completion zsh > ${ISTIO_OUT}/release/_istioctl

.PHONY: binaries-test
binaries-test:
Expand Down

0 comments on commit 94e72ca

Please sign in to comment.