Skip to content
Snippets Groups Projects
Commit d2c6fd8f authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Add make command to build schema as on CI

parent b4d67db9
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,9 @@ 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
schema:
./arkindex/manage.py generateschema --generator_class arkindex.project.openapi.SchemaGenerator > schema.yml
release:
$(eval version:=$(shell cat VERSION))
echo $(version)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment