mirror of
https://github.com/containers/podman.git
synced 2025-10-25 02:04:43 +08:00
add lint and manpage check to make validate
make validate now runs golangci-lint and the man-page-checker to ensure a PR is ready for our CI system. Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
5
Makefile
5
Makefile
@ -315,6 +315,9 @@ docs: $(MANPAGES) ## Generate documentation
|
||||
install-podman-remote-docs: docs
|
||||
@(cd docs; ./podman-remote.sh ./remote)
|
||||
|
||||
man-page-check:
|
||||
./hack/man-page-checker
|
||||
|
||||
# When publishing releases include critical build-time details
|
||||
.PHONY: release.txt
|
||||
release.txt:
|
||||
@ -505,7 +508,7 @@ validate.completions: completions/bash/podman
|
||||
. completions/bash/podman
|
||||
if [ -x /bin/zsh ]; then /bin/zsh completions/zsh/_podman; fi
|
||||
|
||||
validate: gofmt .gitvalidation validate.completions
|
||||
validate: gofmt .gitvalidation validate.completions golangci-lint man-page-check
|
||||
|
||||
build-all-new-commits:
|
||||
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
|
||||
|
||||
Reference in New Issue
Block a user