summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-01-17 21:55:11 +0100
committerGitHub <noreply@github.com>2020-01-17 21:55:11 +0100
commit3b6a843eb2942ec4093072f4a6468a57f19de5cb (patch)
tree81de580baddb004e7cb18f1111f65577f13cdef8 /Makefile
parentab7e1a4c400f4bdb47ab49a2a0c8ef9508c68e02 (diff)
parent9be6f30a42a8737f7e853dc3333b627242a962ab (diff)
downloadpodman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.tar.gz
podman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.tar.bz2
podman-3b6a843eb2942ec4093072f4a6468a57f19de5cb.zip
Merge pull request #4895 from cevich/swagpublish
[CI:DOCS] Post-process swagger yaml and publish
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dabfc65dd..c794ffde7 100644
--- a/Makefile
+++ b/Makefile
@@ -212,6 +212,12 @@ run-docker-py-tests:
$(eval testLogs=$(shell mktemp))
./bin/podman run --rm --security-opt label=disable --privileged -v $(testLogs):/testLogs --net=host -e DOCKER_HOST=tcp://localhost:8080 $(DOCKERPY_IMAGE) sh -c "pytest $(DOCKERPY_TEST) "
+pkg/api/swagger.yaml: .gopathok release.txt
+ make -C pkg/api
+
+.PHONY: swagger
+swagger: pkg/api/swagger.yaml
+
clean: ## Clean artifacts
rm -rf \
.gopathok \