chore(api): add make schema-foreach-commit command
This commit is contained in:
parent
df9a6edf88
commit
e5cb21c0e2
|
@ -20,3 +20,6 @@ schema: $(VENV)
|
|||
source $(VENV)/bin/activate
|
||||
DJANGO_SETTINGS_MODULE=libretime_api.settings.testing libretime-api spectacular --file $(SCHEMA_FILE)
|
||||
if command -v npx > /dev/null; then npx prettier --write $(SCHEMA_FILE); fi
|
||||
|
||||
schema-foreach-commit:
|
||||
git rebase main -x "$(MAKE) -C api schema"
|
||||
|
|
Loading…
Reference in New Issue