Add Validate completions

In podman 0.12.0 we have invalid completions.  These should have been
caught during testing. This check will throw an error if the completions
do not successfully execute.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2019-01-07 09:56:00 -05:00
parent 757906189e
commit db19bed6e8
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
1 changed files with 5 additions and 1 deletions

View File

@ -356,7 +356,10 @@ cmd/podman/varlink/iopodman.go: cmd/podman/varlink/io.podman.varlink
API.md: cmd/podman/varlink/io.podman.varlink
$(GO) generate ./docs/...
validate: gofmt .gitvalidation
validate.completions: completions/bash/podman
. completions/bash/podman
validate: gofmt .gitvalidation validate.completions
build-all-new-commits:
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
@ -366,6 +369,7 @@ build-all-new-commits:
.gopathok \
binaries \
clean \
validate.completions \
default \
docs \
gofmt \