From 9be6f30a42a8737f7e853dc3333b627242a962ab Mon Sep 17 00:00:00 2001 From: baude Date: Fri, 17 Jan 2020 09:41:40 -0600 Subject: post-process swagger yaml for publish Signed-off-by: baude Signed-off-by: Chris Evich --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 \ -- cgit v1.2.3-54-g00ecf