Files
app/scripts/generate-client.sh
T
stroblme e23475c4bd Stop the SDK generator reformatting the whole frontend
biome.json excludes src/client, so the trailing format pass never
touched a generated file — it only rewrote unrelated sources on every
backend commit.
2026-08-25 21:33:11 +02:00

11 lines
239 B
Bash

#! /usr/bin/env bash
set -e
set -x
cd backend
uv run python -c "import fluksio.main; import json; print(json.dumps(fluksio.main.app.openapi()))" > ../openapi.json
cd ..
mv openapi.json frontend/
bun run --filter frontend generate-client