Skip to content
Snippets Groups Projects
Commit c232f2e4 authored by David Trattnig's avatar David Trattnig
Browse files

chore: rename make target for api

parent be4d426a
No related branches found
No related tags found
1 merge request!20Preparations for ORM-less scheduling
......@@ -5,7 +5,7 @@ help::
@echo "$(APP_NAME) targets:"
@echo " init.app - init application environment"
@echo " init.dev - init development environment"
@echo " build.models - build models for API requests/responses"
@echo " api - build models for API requests/responses"
@echo " lint - verify code style"
@echo " spell - check spelling of text"
@echo " format - apply automatic formatting"
......@@ -60,7 +60,7 @@ init.dev:: pyproject.toml
cp -n config/sample.engine.ini config/engine.ini
mkdir -p .cache
build.models::
api::
rm -rf .build
poetry run openapi-python-client generate --path schemas/openapi-tank.json --config .openapi-client-tank.yml
cp -r .build/aura_tank_api/models src/aura_tank_api
......
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