mirror of
https://github.com/containers/podman.git
synced 2025-06-23 02:18:13 +08:00
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:
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
|
API.md: cmd/podman/varlink/io.podman.varlink
|
||||||
$(GO) generate ./docs/...
|
$(GO) generate ./docs/...
|
||||||
|
|
||||||
validate: gofmt .gitvalidation
|
validate.completions: completions/bash/podman
|
||||||
|
. completions/bash/podman
|
||||||
|
|
||||||
|
validate: gofmt .gitvalidation validate.completions
|
||||||
|
|
||||||
build-all-new-commits:
|
build-all-new-commits:
|
||||||
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
|
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
|
||||||
@ -366,6 +369,7 @@ build-all-new-commits:
|
|||||||
.gopathok \
|
.gopathok \
|
||||||
binaries \
|
binaries \
|
||||||
clean \
|
clean \
|
||||||
|
validate.completions \
|
||||||
default \
|
default \
|
||||||
docs \
|
docs \
|
||||||
gofmt \
|
gofmt \
|
||||||
|
Reference in New Issue
Block a user