mirror of
https://github.com/containers/podman.git
synced 2026-01-20 20:11:31 -05:00
Fixed issue where lint was not run on CI, so we missed to prevent regressions. Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
13 lines
274 B
Makefile
13 lines
274 B
Makefile
export GO111MODULE=off
|
|
|
|
SWAGGER_OUT ?= swagger.yaml
|
|
|
|
validate: ${SWAGGER_OUT}
|
|
swagger validate ${SWAGGER_OUT}
|
|
|
|
.PHONY: ${SWAGGER_OUT}
|
|
${SWAGGER_OUT}:
|
|
# generate doesn't remove file on error
|
|
rm -f ${SWAGGER_OUT}
|
|
swagger generate spec -o ${SWAGGER_OUT} -i tags.yaml -w ./
|