12 lines
231 B
Bash
12 lines
231 B
Bash
#! /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/
|
|
npm run -w frontend generate-client
|
|
npm run lint
|