mirror of
https://github.com/furyhawk/home_stack.git
synced 2026-07-21 10:16:47 +00:00
13 lines
256 B
Bash
Executable File
13 lines
256 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
cd backend
|
|
python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json
|
|
cd ..
|
|
mv openapi.json frontend/
|
|
cd frontend
|
|
npm run generate-client
|
|
npx biome format --write ./src/client
|