diff --git a/Makefile b/Makefile index d079e80cbd4b5316fa8188d322f43598e801901b..50c3cbda2840ef5b5dfdc6a2fb0107ce8024978d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,6 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) PONOS_BRANCH=master COMMON_BRANCH=master IMAGE_TAG=registry.gitlab.com/arkindex/backend -API_CLIENT_PATH=../api-client .PHONY: all @@ -38,9 +37,6 @@ test-fixtures-restore: psql -h 127.0.0.1 -p 9100 -U devuser -c 'DROP DATABASE arkindex_dev' template1 psql -h 127.0.0.1 -p 9100 -U devuser -c 'ALTER DATABASE arkindex_dev_replace RENAME TO arkindex_dev' template1 -api-schema: - arkindex/manage.py generateschema --generator_class arkindex.project.openapi.SchemaGenerator > $(API_CLIENT_PATH)/arkindex/schema.yml - require-version: @if [ ! "$(version)" ]; then echo "Missing version to publish"; exit 1; fi @git rev-parse $(version) >/dev/null 2>&1 && (echo "Version $(version) already exists on local git repo !" && exit 1) || true