mirror of https://github.com/containers/podman.git
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:
parent
757906189e
commit
db19bed6e8
6
Makefile
6
Makefile
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue